updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / icecat-ka / PKGBUILD
blobf1d7a3612c7381f102b6af4da04548e51bd2f05e
1 # Maintainer: Figue <ffigue@gmail.com>
2 # Based on icecat-i18n package
4 lang=ka
5 pkgname=icecat-ka
6 pkgver=3.6.15
7 pkgrel=1
8 pkgdesc="ka language pack for IceCat"
9 arch=('any')
10 license=('MPL')
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)
17 build() {
18   cd "${srcdir}"
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
26   done
29 md5sums=('77a5160236abe34ce32fb00d6ec9f82e')