summaryrefslogtreecommitdiff
path: root/libre/icedove-l10n/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icedove-l10n/PKGBUILD')
-rw-r--r--libre/icedove-l10n/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
index f35bb5055..b69874b93 100644
--- a/libre/icedove-l10n/PKGBUILD
+++ b/libre/icedove-l10n/PKGBUILD
@@ -34,6 +34,8 @@ url="https://wiki.parabola.nu/icedove"
license=('MPL' 'GPL')
makedepends=('unzip' 'zip')
+_src_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${pkgver}/linux-x86_64/xpi
+
pkgname=()
source=()
source+=(brand.dtd
@@ -50,13 +52,11 @@ source languages.${CARCH} # sets $_languages
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=$pkgbase-${_locale,,}
- _src_arch=$( [[ "${CARCH}" == 'x86_64' ]] && echo 'x86_64' || echo 'i686' )
- _src_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${pkgver}/linux-${_src_arch}/xpi
-# _calurl=https://ftp.mozilla.org/pub/calendar/lightning/candidates/$_calver-candidates/build1/linux-${_src_arch}
+ # _calurl=https://ftp.mozilla.org/pub/calendar/lightning/candidates/$_calver-candidates/build1/linux-${_src_arch}
pkgname+=($_pkgname)
source+=("$pkgbase-$pkgver-$_locale.xpi::$_src_url/$_locale.xpi")
-# "$_calbase-l10n-$_calver-$_locale.xpi::$_calurl/lightning-$_calver.$_locale.linux-${_src_arch}.xpi")
+ # "$_calbase-l10n-$_calver-$_locale.xpi::$_calurl/lightning-$_calver.$_locale.linux-${_src_arch}.xpi")
eval "package_$_pkgname() {
_package $_lang
@@ -67,7 +67,7 @@ done
noextract=(${source[@]%%::*})
_package() {
- pkgdesc="$2 language pack for Icedove and Iceowl."
+ pkgdesc="$2 for Icedove and Iceowl."
depends=("$_pkgbase>=$epoch:$pkgver")
replaces=(thunderbird-i18n-${1,,})
provides=(thunderbird-i18n-${1,,})