From f5683db2c001d32a3a8836cddcde13f73d8e991a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 15 Jan 2013 23:22:07 -0200 Subject: iceape-l10n-2.7.11-1: fixing some bugs --- libre/iceape-l10n/PKGBUILD | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libre/iceape-l10n') 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\" } " -- cgit v1.2.3