diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/iceweasel-l10n/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index 4254c08d4..b2b937601 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -1,6 +1,8 @@ # Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> # Contributor: fauno <fauno@kiwwwi.com.ar> # Contributor: Figue <ffigue@gmail.com> +# Maintainer : Márcio Silva <coadde@lavabit.com> +# Maintainer : André Silva <emulatorman@lavabit.com> # Based on icecat-i18n package, which is in turn based on firefox-i18n # When updating to a newer upstream release: @@ -22,7 +24,7 @@ pkgname=($(for lang in ${_langpacks[@]} done)) _pkgver=18.0 pkgver=$_debver.$_debrel -pkgrel=4 +pkgrel=5 pkgdesc="Language packs for Debian Iceweasel." arch=('any') @@ -46,26 +48,28 @@ build() { bsdtar xf data.tar.xz done -cd $srcdir$_path + cd $srcdir/$_path -for i in ${_langpacks[@]} -do + for i in ${_langpacks[@]} + do + cd $srcdir/$_path unzip -q langpack-$i@iceweasel.mozilla.org.xpi -d $i rm langpack-$i@iceweasel.mozilla.org.xpi install -Dm644 $srcdir/region.properties $i/chrome/$i/locale/browser-region - zip -q -r langpack-$i@iceweasel.mozilla.org.xpi $i -done + cd $i + zip -q -r $srcdir/$_path/langpack-$i@iceweasel.mozilla.org.xpi . + done -cd $srcdir + cd $srcdir } for lang in ${_langpacks[@]} do eval " package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() { - replaces=(iceweasel-i18n-$(echo $lang | tr A-Z a-z)) - conflicts=(iceweasel-i18n-$(echo $lang | tr A-Z a-z)) - provides=(iceweasel-i18n-$(echo $lang | tr A-Z a-z)) + replaces=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) + conflicts=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) + provides=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) install -Dm644 \"\$srcdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" } " |