summaryrefslogtreecommitdiff
path: root/libre/iceape-l10n/PKGBUILD
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/iceape-l10n/PKGBUILD
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/iceape-l10n/PKGBUILD')
-rw-r--r--libre/iceape-l10n/PKGBUILD8
1 files changed, 3 insertions, 5 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\"
}
"