1 # Maintainer: Gianfranco 'Gianfrix' Micoli <gianfrix.mg@gmail.com>
3 # Modify this line to choose your language
5 pkgname=indicator-language-pack
8 pkgdesc="Language pack for Indicator Applets. Edit the PKGBUILD before compiling to choose your own language."
10 url="http://www.ubuntu.com"
12 depends=('indicator-applet')
13 source=(http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-$_lang-base/language-pack-$_lang-base_$pkgver.tar.gz
14 http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-gnome-$_lang-base/language-pack-gnome-$_lang-base_$pkgver.tar.gz
19 msg "Creating language pack for language $_lang"
20 cd "$srcdir/language-pack-$_lang-base/data/$_lang/LC_MESSAGES"
21 cat $srcdir/po-list-base | xargs -iXXX msgfmt -o $srcdir/XXX.mo XXX.po
22 cd "$srcdir/language-pack-gnome-$_lang-base/data/$_lang/LC_MESSAGES"
23 cat $srcdir/po-list-gnome-base | xargs -iXXX msgfmt -o $srcdir/XXX.mo XXX.po
28 install -d $pkgdir/usr/share/locale/$_lang/LC_MESSAGES
29 cp -vr $srcdir/*.mo $pkgdir/usr/share/locale/$_lang/LC_MESSAGES
32 # You have to generate your own MD5s! This one is for italian language. DON'T change po-list* files!
33 md5sums=('f4b1a67a39c778d5e79abd41f5d0beb6'
34 'e4aa203649ccb13c428639513ab99b0f'
35 '49a6d8de80afd6596f126c3300608243'
36 'adddf627253f4d811f4a1ca2f25a6da2')