1 # Maintainer: Figue <ffigue@gmail.com>
2 # Based on icecat-i18n package
8 pkgdesc="ka language pack for IceCat"
11 url="http://www.gnu.org/software/gnuzilla/"
12 depends=("icecat>=${pkgver}g1")
13 #_url=http://gnuzilla.gnu.org/download/langpacks/${pkgver}/GNU_IceCat-${pkgver}
14 _url=http://mirror.linuzeros.org/icecat/langpacks/${pkgver}/
15 source=(${_url}${lang}.xpi)
19 for langfile in *.xpi; do
20 lang=${langfile/.xpi/}
21 msg "Building ${langfile}"
22 bsdtar xf ${langfile} || return 1
23 sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest || return 1
24 install -D -m 644 chrome/${lang}.jar "${pkgdir}/usr/lib/icecat/chrome/${lang}.jar" || return 1
25 install -D -m 644 chrome.manifest "${pkgdir}/usr/lib/icecat/chrome/${lang}.manifest" || return 1
29 md5sums=('77a5160236abe34ce32fb00d6ec9f82e')