summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-15 23:22:07 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-15 23:22:07 -0200
commitf5683db2c001d32a3a8836cddcde13f73d8e991a (patch)
tree2e2daa4a4569b7d0a31fd395d6a3730a613574ae
parent16f606834735e7b3cdd8c19207aeb73ca7169a2a (diff)
downloadabslibre-f5683db2c001d32a3a8836cddcde13f73d8e991a.tar.gz
abslibre-f5683db2c001d32a3a8836cddcde13f73d8e991a.tar.bz2
abslibre-f5683db2c001d32a3a8836cddcde13f73d8e991a.zip
iceape-l10n-2.7.11-1: fixing some bugs
-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\"
}
"