summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-17 03:37:29 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-17 03:37:29 -0200
commit42697dd1a713412c2a07fee0287db413ff9f49a6 (patch)
treef7a26505c5ae755c003f2b5174cb4e540b21cd35 /libre
parent000fdf7aed8509101798bf08fa5b568e8be425c2 (diff)
downloadabslibre-42697dd1a713412c2a07fee0287db413ff9f49a6.tar.gz
abslibre-42697dd1a713412c2a07fee0287db413ff9f49a6.tar.bz2
abslibre-42697dd1a713412c2a07fee0287db413ff9f49a6.zip
iceweasel-l10n: fixing pkg
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel-l10n/PKGBUILD24
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\"
}
"