void-packages/srcpkgs/cinnamon-translations/template

22 lines
616 B
Plaintext

# Template file for 'cinnamon-translations'
pkgname=cinnamon-translations
version=2.2.4
revision=1
noarch=yes
hostmakedepends="git"
short_desc="Translations for Cinnamon and Nemo"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}
do_install () {
vmkdir /usr/share/cinnamon/locale
cp -a mo-export/* ${DESTDIR}/usr/share/cinnamon/locale
}