1 # Maintainer Piotr Rudzki <ryba.lodz@gmail.com>
2 # Based on PKGBUILD swiftfox3-i18 maintained by Ambi
3 pkgname=swiftfox3-i18n-pl
8 pkgdesc="Polish language pack for Swiftfox3"
11 url="http://www.getswiftfox.com"
12 depends=("swiftfox>=${pkgver}")
13 eval conflicts=(mozilla3-swiftfox-i18n mozilla3-swiftfox-${_languages} swiftfox3-${_languages} swiftfox3-i18n swiftfox-i18n)
14 replaces=("swiftfox3-i18n" "swiftfox3-l10n")
17 eval source=(ftp://ftp.mozilla.org/pub/firefox/releases/${_firefoxver}/linux-i686/xpi/${_languages}.xpi)
19 md5sums=('a88980f26cddd5b77f415f94408e10cc')
23 for lang in $(echo "${_languages}" | sed 's|,| |g'); do
25 sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest || return 1
26 install -D -m 644 chrome/${lang}.jar ${startdir}/pkg/opt/swiftfox/chrome/${lang}.jar || return 1
27 install -D -m 644 chrome.manifest ${startdir}/pkg/opt/swiftfox/chrome/${lang}.manifest || return 1