summaryrefslogtreecommitdiff
path: root/libre/icedove-l10n/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2020-11-01 19:47:56 +0100
committerAndreas Grapentin <andreas@grapentin.org>2020-11-01 19:54:48 +0100
commitc3687ec7331786189880a1d433f3680bbf98a96d (patch)
treeb3dff32430a3b99a72856f5545177a43b2e0e39a /libre/icedove-l10n/PKGBUILD
parenta99f10e3e1a5c53d3ac041cc4730312bf5f81f33 (diff)
downloadabslibre-c3687ec7331786189880a1d433f3680bbf98a96d.tar.gz
abslibre-c3687ec7331786189880a1d433f3680bbf98a96d.tar.bz2
abslibre-c3687ec7331786189880a1d433f3680bbf98a96d.zip
updating language lists, fixing language list update script
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,,})