2013-12-15 18:19:51 +01:00
|
|
|
# Template file for 'cinnamon-translations'
|
|
|
|
pkgname=cinnamon-translations
|
2014-08-30 18:37:13 +02:00
|
|
|
version=2.2.4
|
2013-12-15 18:19:51 +01:00
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch=yes
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2013-12-15 18:19:51 +01:00
|
|
|
short_desc="Translations for Cinnamon and Nemo"
|
2013-12-29 17:48:49 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-12-15 18:19:51 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2014-11-01 19:44:30 +01:00
|
|
|
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
|
|
|
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
2013-12-15 18:19:51 +01:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install () {
|
2013-12-29 17:48:49 +01:00
|
|
|
vmkdir /usr/share/cinnamon/locale
|
|
|
|
cp -a mo-export/* ${DESTDIR}/usr/share/cinnamon/locale
|
2013-12-15 18:19:51 +01:00
|
|
|
}
|