summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/iceape-l10n/PKGBUILD8
-rw-r--r--libre/icedove-l10n/PKGBUILD2
2 files changed, 4 insertions, 6 deletions
diff --git a/libre/iceape-l10n/PKGBUILD b/libre/iceape-l10n/PKGBUILD
index 5ad18ba5c..785b726a4 100644
--- a/libre/iceape-l10n/PKGBUILD
+++ b/libre/iceape-l10n/PKGBUILD
@@ -15,7 +15,6 @@ _debver=2.7.11
_debrel=1
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
-lowercase() { tr A-Z a-z <<<"$*"; }
_langpacks=(be ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT ru sk sv-SE tr zh-CN)
@@ -28,7 +27,7 @@ pkgver=${_debver}.${_debrel}
pkgrel=1
pkgdesc="Language packs for Debian Iceape."
-arch=('any')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/source/sid/iceape"
license=('MPL')
depends=("iceape-libre>=$pkgver")
@@ -39,9 +38,6 @@ do
source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel}_all.deb")
done
-replaces=(iceape-i18n-$(lowercase "${lang}"))
-conflicts=(iceape-i18n-$(lowercase "${lang}"))
-
build() {
cd "${srcdir}"
for f in *.deb
@@ -58,6 +54,8 @@ for lang in ${_langpacks[@]}
do
eval "
package_iceape-l10n-$(echo $lang | tr A-Z a-z)() {
+ replaces=(iceape-i18n-$(echo $lang | tr A-Z a-z))
+ conflicts=(iceape-i18n-$(echo $lang | tr A-Z a-z))
install -Dm644 \"\$srcdir$_path/langpack-$lang@iceape.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceape.mozilla.org.xpi\"
}
"
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
index 4ea4fb504..7e983a88c 100644
--- a/libre/icedove-l10n/PKGBUILD
+++ b/libre/icedove-l10n/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=($(for lang in ${_langpacks[@]}
pkgrel=1
pkgdesc="Language packs for Debian Icedove."
-arch=('any')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/source/experimental/icedove"
license=('MPL' 'GPL')
depends=("icedove-libre>=$pkgver")