summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-16 00:07:00 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-16 00:07:00 -0200
commit3bc297c183d57d430434c200d8323fc4b8f9938d (patch)
tree2c8b2bfa71cb379f95af85bf71c126f8a1110be3 /libre
parent0a2af64c022c6cf9848cff751421a7bafa8dec03 (diff)
parentf5683db2c001d32a3a8836cddcde13f73d8e991a (diff)
downloadabslibre-3bc297c183d57d430434c200d8323fc4b8f9938d.tar.gz
abslibre-3bc297c183d57d430434c200d8323fc4b8f9938d.tar.bz2
abslibre-3bc297c183d57d430434c200d8323fc4b8f9938d.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre')
-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")