summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD822
1 files changed, 142 insertions, 680 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0cdcf888389..6b09e8cefc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,7 @@
-# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
+# Maintainer: Felix Golatofski <contact@xdfr.de>
+# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Forked from extra/thunderbird-i18n
+# Contributor: Chih-Hsuan Yen <yan12125@archlinux.org>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -7,691 +9,151 @@
pkgbase=thunderbird-beta-i18n
pkgver=76.0b2
-pkgrel=1
-url='http://www.mozilla.com/'
+pkgrel=2
+pkgdesc='Language pack for Thunderbird Beta'
+url='https://www.mozilla.com/thunderbird'
arch=('any')
license=('MPL' 'GPL')
-depends=("thunderbird>=$pkgver")
-
-pkgname=(
- 'thunderbird-beta-i18n-ar'
- 'thunderbird-beta-i18n-ast'
- 'thunderbird-beta-i18n-be'
- 'thunderbird-beta-i18n-bg'
- 'thunderbird-beta-i18n-br'
- 'thunderbird-beta-i18n-ca'
- 'thunderbird-beta-i18n-cak'
- 'thunderbird-beta-i18n-cs'
- 'thunderbird-beta-i18n-cy'
- 'thunderbird-beta-i18n-da'
- 'thunderbird-beta-i18n-de'
- 'thunderbird-beta-i18n-dsb'
- 'thunderbird-beta-i18n-el'
- 'thunderbird-beta-i18n-en-gb'
- 'thunderbird-beta-i18n-en-us'
- 'thunderbird-beta-i18n-es-ar'
- 'thunderbird-beta-i18n-es-es'
- 'thunderbird-beta-i18n-et'
- 'thunderbird-beta-i18n-eu'
- 'thunderbird-beta-i18n-fi'
- 'thunderbird-beta-i18n-fr'
- 'thunderbird-beta-i18n-fy-nl'
- 'thunderbird-beta-i18n-ga-ie'
- 'thunderbird-beta-i18n-gd'
- 'thunderbird-beta-i18n-gl'
- 'thunderbird-beta-i18n-he'
- 'thunderbird-beta-i18n-hr'
- 'thunderbird-beta-i18n-hsb'
- 'thunderbird-beta-i18n-hu'
- 'thunderbird-beta-i18n-hy-am'
- 'thunderbird-beta-i18n-id'
- 'thunderbird-beta-i18n-is'
- 'thunderbird-beta-i18n-it'
- 'thunderbird-beta-i18n-ja'
- 'thunderbird-beta-i18n-ka'
- 'thunderbird-beta-i18n-kab'
- 'thunderbird-beta-i18n-kk'
- 'thunderbird-beta-i18n-ko'
- 'thunderbird-beta-i18n-lt'
- 'thunderbird-beta-i18n-ms'
- 'thunderbird-beta-i18n-nb-no'
- 'thunderbird-beta-i18n-nl'
- 'thunderbird-beta-i18n-nn-no'
- 'thunderbird-beta-i18n-pl'
- 'thunderbird-beta-i18n-pt-br'
- 'thunderbird-beta-i18n-pt-pt'
- 'thunderbird-beta-i18n-rm'
- 'thunderbird-beta-i18n-ro'
- 'thunderbird-beta-i18n-ru'
- 'thunderbird-beta-i18n-si'
- 'thunderbird-beta-i18n-sk'
- 'thunderbird-beta-i18n-sl'
- 'thunderbird-beta-i18n-sq'
- 'thunderbird-beta-i18n-sr'
- 'thunderbird-beta-i18n-sv-se'
- 'thunderbird-beta-i18n-tr'
- 'thunderbird-beta-i18n-uk'
- 'thunderbird-beta-i18n-uz'
- 'thunderbird-beta-i18n-vi'
- 'thunderbird-beta-i18n-zh-cn'
- 'thunderbird-beta-i18n-zh-tw'
-)
-_url=https://ftp.mozilla.org/pub/thunderbird/releases/$pkgver/linux-x86_64/xpi
-source=(
- "thunderbird-beta-i18n-$pkgver-ar.xpi::$_url/ar.xpi"
- "thunderbird-beta-i18n-$pkgver-ast.xpi::$_url/ast.xpi"
- "thunderbird-beta-i18n-$pkgver-be.xpi::$_url/be.xpi"
- "thunderbird-beta-i18n-$pkgver-bg.xpi::$_url/bg.xpi"
- "thunderbird-beta-i18n-$pkgver-br.xpi::$_url/br.xpi"
- "thunderbird-beta-i18n-$pkgver-ca.xpi::$_url/ca.xpi"
- "thunderbird-beta-i18n-$pkgver-cak.xpi::$_url/cak.xpi"
- "thunderbird-beta-i18n-$pkgver-cs.xpi::$_url/cs.xpi"
- "thunderbird-beta-i18n-$pkgver-cy.xpi::$_url/cy.xpi"
- "thunderbird-beta-i18n-$pkgver-da.xpi::$_url/da.xpi"
- "thunderbird-beta-i18n-$pkgver-de.xpi::$_url/de.xpi"
- "thunderbird-beta-i18n-$pkgver-dsb.xpi::$_url/dsb.xpi"
- "thunderbird-beta-i18n-$pkgver-el.xpi::$_url/el.xpi"
- "thunderbird-beta-i18n-$pkgver-en-GB.xpi::$_url/en-GB.xpi"
- "thunderbird-beta-i18n-$pkgver-en-US.xpi::$_url/en-US.xpi"
- "thunderbird-beta-i18n-$pkgver-es-AR.xpi::$_url/es-AR.xpi"
- "thunderbird-beta-i18n-$pkgver-es-ES.xpi::$_url/es-ES.xpi"
- "thunderbird-beta-i18n-$pkgver-et.xpi::$_url/et.xpi"
- "thunderbird-beta-i18n-$pkgver-eu.xpi::$_url/eu.xpi"
- "thunderbird-beta-i18n-$pkgver-fi.xpi::$_url/fi.xpi"
- "thunderbird-beta-i18n-$pkgver-fr.xpi::$_url/fr.xpi"
- "thunderbird-beta-i18n-$pkgver-fy-NL.xpi::$_url/fy-NL.xpi"
- "thunderbird-beta-i18n-$pkgver-ga-IE.xpi::$_url/ga-IE.xpi"
- "thunderbird-beta-i18n-$pkgver-gd.xpi::$_url/gd.xpi"
- "thunderbird-beta-i18n-$pkgver-gl.xpi::$_url/gl.xpi"
- "thunderbird-beta-i18n-$pkgver-he.xpi::$_url/he.xpi"
- "thunderbird-beta-i18n-$pkgver-hr.xpi::$_url/hr.xpi"
- "thunderbird-beta-i18n-$pkgver-hsb.xpi::$_url/hsb.xpi"
- "thunderbird-beta-i18n-$pkgver-hu.xpi::$_url/hu.xpi"
- "thunderbird-beta-i18n-$pkgver-hy-AM.xpi::$_url/hy-AM.xpi"
- "thunderbird-beta-i18n-$pkgver-id.xpi::$_url/id.xpi"
- "thunderbird-beta-i18n-$pkgver-is.xpi::$_url/is.xpi"
- "thunderbird-beta-i18n-$pkgver-it.xpi::$_url/it.xpi"
- "thunderbird-beta-i18n-$pkgver-ja.xpi::$_url/ja.xpi"
- "thunderbird-beta-i18n-$pkgver-ka.xpi::$_url/ka.xpi"
- "thunderbird-beta-i18n-$pkgver-kab.xpi::$_url/kab.xpi"
- "thunderbird-beta-i18n-$pkgver-kk.xpi::$_url/kk.xpi"
- "thunderbird-beta-i18n-$pkgver-ko.xpi::$_url/ko.xpi"
- "thunderbird-beta-i18n-$pkgver-lt.xpi::$_url/lt.xpi"
- "thunderbird-beta-i18n-$pkgver-ms.xpi::$_url/ms.xpi"
- "thunderbird-beta-i18n-$pkgver-nb-NO.xpi::$_url/nb-NO.xpi"
- "thunderbird-beta-i18n-$pkgver-nl.xpi::$_url/nl.xpi"
- "thunderbird-beta-i18n-$pkgver-nn-NO.xpi::$_url/nn-NO.xpi"
- "thunderbird-beta-i18n-$pkgver-pl.xpi::$_url/pl.xpi"
- "thunderbird-beta-i18n-$pkgver-pt-BR.xpi::$_url/pt-BR.xpi"
- "thunderbird-beta-i18n-$pkgver-pt-PT.xpi::$_url/pt-PT.xpi"
- "thunderbird-beta-i18n-$pkgver-rm.xpi::$_url/rm.xpi"
- "thunderbird-beta-i18n-$pkgver-ro.xpi::$_url/ro.xpi"
- "thunderbird-beta-i18n-$pkgver-ru.xpi::$_url/ru.xpi"
- "thunderbird-beta-i18n-$pkgver-si.xpi::$_url/si.xpi"
- "thunderbird-beta-i18n-$pkgver-sk.xpi::$_url/sk.xpi"
- "thunderbird-beta-i18n-$pkgver-sl.xpi::$_url/sl.xpi"
- "thunderbird-beta-i18n-$pkgver-sq.xpi::$_url/sq.xpi"
- "thunderbird-beta-i18n-$pkgver-sr.xpi::$_url/sr.xpi"
- "thunderbird-beta-i18n-$pkgver-sv-SE.xpi::$_url/sv-SE.xpi"
- "thunderbird-beta-i18n-$pkgver-tr.xpi::$_url/tr.xpi"
- "thunderbird-beta-i18n-$pkgver-uk.xpi::$_url/uk.xpi"
- "thunderbird-beta-i18n-$pkgver-uz.xpi::$_url/uz.xpi"
- "thunderbird-beta-i18n-$pkgver-vi.xpi::$_url/vi.xpi"
- "thunderbird-beta-i18n-$pkgver-zh-CN.xpi::$_url/zh-CN.xpi"
- "thunderbird-beta-i18n-$pkgver-zh-TW.xpi::$_url/zh-TW.xpi"
+depends=("thunderbird-beta>=$pkgver")
+
+_languages=(
+ 'ar "Arabic"'
+ 'ast "Asturian"'
+ 'be "Belarusian"'
+ 'bg "Bulgarian"'
+ 'br "Breton"'
+ 'ca "Catalan"'
+ 'cs "Czech"'
+ 'cy "Welsh"'
+ 'da "Danish"'
+ 'de "German"'
+ 'dsb "Lower Sorbian"'
+ 'el "Greek"'
+ 'en-GB "English (British)"'
+ 'en-US "English (US)"'
+ 'es-AR "Spanish (Argentina)"'
+ 'es-ES "Spanish (Spain)"'
+ 'et "Estonian"'
+ 'eu "Basque"'
+ 'fi "Finnish"'
+ 'fr "French"'
+ 'fy-NL "Frisian"'
+ 'ga-IE "Irish"'
+ 'gd "Gaelic (Scotland)"'
+ 'gl "Galician"'
+ 'he "Hebrew"'
+ 'hr "Croatian"'
+ 'hsb "Upper Sorbian"'
+ 'hu "Hungarian"'
+ 'hy-AM "Armenian"'
+ 'id "Indonesian"'
+ 'is "Icelandic"'
+ 'it "Italian"'
+ 'ja "Japanese"'
+ 'ko "Korean"'
+ 'lt "Lithuanian"'
+ 'nb-NO "Norwegian (Bokmål)"'
+ 'nl "Dutch"'
+ 'nn-NO "Norwegian (Nynorsk)"'
+ 'pl "Polish"'
+ 'pt-BR "Portuguese (Brazilian)"'
+ 'pt-PT "Portuguese (Portugal)"'
+ 'rm "Romansh"'
+ 'ro "Romanian"'
+ 'ru "Russian"'
+ 'si "Sinhala"'
+ 'sk "Slovak"'
+ 'sl "Slovenian"'
+ 'sq "Albanian"'
+ 'sr "Serbian"'
+ 'sv-SE "Swedish"'
+ 'tr "Turkish"'
+ 'uk "Ukrainian"'
+ 'vi "Vietnamese"'
+ 'zh-CN "Chinese (Simplified)"'
+ 'zh-TW "Chinese (Traditional)"'
)
-sha256sums=(
- '7d140ddfca88f8d3293b66975abd474983611eb0e2f77403d34a8ae7d4743470'
- '3c23047c97ca8bb37a9f09174418cbdcfdcac8ffc072d7353f4596b901e111c1'
- '4558c670ab46db21b3583cccab97495734a1dce9b157d448e24324caad27e632'
- '6217f0217ba0f551b46d87175b8019c7b99ab18b09ded1abad707df4260d74cf'
- '90e60606ea1ac5d97b51e1bf951ef8edd19cb007f0e108bf82f3034621b9e3c1'
- 'c35f3a828281334763a2afe461c83c4c0bdf72478967a4ad72406331320b11a3'
- 'b30df512a47f9c70cc7a926c1fdb61702e4e8153830f43e24d9147cef2dede7a'
- 'bdb497f4df41918ad6847a98b1f096483b63e373faaeae6a97cf396931e66057'
- '9162e59cc095012f36aa5436f9f00c33246ddc1f6f6e75983b94243828b36685'
- '4f665e61991a5a194960ae7709961f12f906e8e50f72378c18e5159940b9f1e2'
- '7b553b642740e6254b5161ba4f22e384b968243d52892d06f8e3767e79965feb'
- '894877055e5ee52009d30a932f3485552524da5a53591ba7800ee35a29234393'
- '14ad8fb1d1d3ed1f8c045092d77ec1eeec4bb16e9e650fa307f9ab0f52867547'
- 'cc2f184263f469bc83b654dc8237972ebc5360c4d53d173a307207589b5c0221'
- 'ba8fc174587e45bf2611106673dd3355c3fe636e727ea5831796cf2a1cfaeba2'
- 'e3e460b292b54b7fde0b6d6a670efb38a7429215dd062183bed646e44566c33e'
- '4a0cc18dad6fb84d20295b16beab3cd84c3edeb770c7945cafe37300067f183b'
- '30033f1cf4732de6a290e1aa0034c1be555690882693197e8cb51933a3607eb2'
- '26345bb28503ffeb387995a8433dc2da654be0f352948895f4842b3f913defa6'
- 'a9a0d7403f10bf3008c35105ef383e02b156cd2820681565e21656dc5cb49a8d'
- '96653e383707420e13279ef2984de5e8c007893bb0347731ac94747d4c49f147'
- '58b180b3fcb932f112ed95379619e1146562fd6790428c33250916d3eb3ba605'
- 'a239f68749c1ef4de73d09f3c83ee7fafe98465ced46f28a71f46f8b2a0c0d97'
- 'b0edb064575535ad1a1745edc01df3a815c268b412bd70acdc6d3cf4c6334b57'
- '025393edadc243ce617dc6ca090778c921f8681638ea0ef62cb495bbf85ad645'
- '03e2eaa996f5a863f959441045e4ba9cceaede71f75b30c508be00157d102779'
- 'e09760c1aa3d1635734d4c288fb4f590aee337d530d5ddab256d2402ca7a9ebe'
- '7eba5fdb1ee62b7830f444edbe8c1d72fdc1d91cc8a69fade0c3d94eaf2807e6'
- '33e2a1a0968729bc1db73433da58781e9753e2ed51b118186096a1c1cb3cb7c1'
- '62b4bcbfd0f1c005137ab039069fb4b63bc7c09964bcdddb2e89056e106a8863'
- '1699d786f20704a678faa0da1a57b7cc3220d296ea9c4fc03cce615ace0e3124'
- 'ae365b1a6294d94262faf4731c47d03f17bd8334828709330e306b9a185cd141'
- '58f63db45cd75813f0ac570221edd3bcbc3962923c71ba21ea98080773158c52'
- 'b9464fe84fda399f01d83fdc34ab1a1fe77ccb05ec669f8ae6c218dce6d4fe06'
- 'ed2c2833dc1c3f2b0217937bc0cc7bef538cef1baea1343bf1e4e4c3f112be21'
- '8dec2ea741bb7376a34a295802e14122c32087b8f7b950637e617a076426ec3a'
- '502bd26efca5111ec8d52f02efbefa190e6d0ada9f410966a85beddb7f6d1b8c'
- '2f6b2338ec95a8663351c0d4dfd93f35a171e3e51fd1b4bac0c8f9ea6a659bad'
- '99b50e2f6473a42b9bf830ff21c3729ac0fdfbbadd6ad2ee5dfd89efc6514bee'
- '173e7ffeb4bc7475ef5aaf8a95ac8ac486d337f052fcdb048be05c0bd403bae5'
- 'e64c24951adc129241526b5ce2e7c16491e605600a74af6234cec4cb5b89f2f0'
- '6f28f11fe489c0e051fc4010a01c00202e295783ec9f901bd6191c2d0fc7b246'
- 'ec15f970449193afd6906130910bd8e5570ddbb9b5d66e879acb0176bf18f569'
- '8d58b9c9b5923a8a0d1135cbc5f81e019698db2f38f579a9e0e1a8654e1e2821'
- '14ec0da1ef50badf504f066c1a5d1d21eecc1fe4d18d119e0b1529f2cdb8ae84'
- '24f5aa23da7387d012f7e158f05ad73adf56d89214b749a8c49a9728b1c09056'
- '5d74dd386c1dac585f927f65975b6b162380bd82da961422fc5aca66e2933a5a'
- '3bb19255aaf34013690955f580966965d0167fb636d71cd1e2b3386552db89b2'
- '62b740b1245c2b53417fddb4c253d41cde1b9f03e415ea7a7e405381cde8facd'
- '59e570111989b9b241588a3ae2c7e6866992f92e6da636bf2c9437849ad984df'
- 'a9d9c3df6e74d7dab0600d9f2e1301f6bc36a5f9b0d66482d233ce1152464878'
- '0f972e85430d707b8605e4c4c9badfc954cfdfed83d11bd2257311a226e1c8f0'
- '085af7528b915c82e2d229e1ff2e6d110ce6fcbf4762e63bb0b376635cc2440b'
- '847615d53ad2a8a7cd626f697c19de5c77e1833e1422a5c632c64c8c1390e676'
- '60232cc1b7299572a939304ae9cbb1b77c705d6d17fbb2afa9e7ec0df06b9c91'
- '8aaa2f6bb29964459a78697cc7b59a954036ed230c8260c87266274c369ffa79'
- '1c6eab40f7fb4bed4464805a55c3e820f2618d63e1b3a6beac25bb400d0b8915'
- '8130410ed2b4ada6d753aced1c1f166bfc043755046a9efec7680f140a73d12c'
- '557f58e7e4fdba4967d6d72bc96f2d53edc86db88e2f4340a396e72e208171cb'
- '59b4761393cdb5122e35539f91720c3e49de343b111d74ae9d3ee889bcc2c566'
- 'f4cb82d5032437c7b97901327d27e764924b80d453570a7bc46ab48f792c9ba5')
-
-# Don't extract anything
-noextract=(${source[@]%%::*})
-
-
-package_thunderbird-beta-i18n-ar() {
- pkgdesc="Arabic language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ar.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ar@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ast() {
- pkgdesc="Asturian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ast.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ast@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-be() {
- pkgdesc="Belarusian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-be.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-be@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-bg() {
- pkgdesc="Bulgarian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-bg.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-bg@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-br() {
- pkgdesc="Breton language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-br.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-br@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ca() {
- pkgdesc="Catalan language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ca.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ca@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-cak() {
- pkgdesc="Kaqchikel language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-cak.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-cak@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-cs() {
- pkgdesc="Czech language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-cs.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-cs@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-cy() {
- pkgdesc="Welsh language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-cy.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-cy@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-da() {
- pkgdesc="Danish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-da.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-da@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-de() {
- pkgdesc="German language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-de.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-de@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-dsb() {
- pkgdesc="Sorbian, Lower language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-dsb.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-dsb@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-el() {
- pkgdesc="Greek language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-el.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-el@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-en-gb() {
- pkgdesc="English (Great Britain) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-en-GB.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-en-GB@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-en-us() {
- pkgdesc="English language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-en-US.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-en-US@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-es-ar() {
- pkgdesc="Spanish (Argentina) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-es-AR.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-es-AR@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-es-es() {
- pkgdesc="Spanish (Spain) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-es-ES.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-es-ES@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-et() {
- pkgdesc="Estonian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-et.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-et@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-eu() {
- pkgdesc="Basque language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-eu.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-eu@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-fi() {
- pkgdesc="Finnish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-fi.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-fi@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-fr() {
- pkgdesc="French language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-fr.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-fr@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-fy-nl() {
- pkgdesc="Frisian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-fy-NL.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-fy-NL@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ga-ie() {
- pkgdesc="Irish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ga-IE.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ga-IE@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-gd() {
- pkgdesc="Gaelic, Scottish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-gd.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-gd@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-gl() {
- pkgdesc="Galician language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-gl.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-gl@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-he() {
- pkgdesc="Hebrew language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-he.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-he@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-hr() {
- pkgdesc="Croatian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-hr.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-hr@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-hsb() {
- pkgdesc="Sorbian, Upper language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-hsb.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-hsb@thunderbird.mozilla.org.xpi"
-}
-package_thunderbird-beta-i18n-hu() {
- pkgdesc="Hungarian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-hu.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-hu@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-hy-am() {
- pkgdesc="Armenian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-hy-AM.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-hy-AM@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-id() {
- pkgdesc="Indonesian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-id.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-id@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-is() {
- pkgdesc="Icelandic language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-is.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-is@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-it() {
- pkgdesc="Italian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-it.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-it@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ja() {
- pkgdesc="Japanese language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ja.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ja@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ka() {
- pkgdesc="Georgian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ka.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ka@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-kab() {
- pkgdesc="Kabyle language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-kab.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-kab@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-kk() {
- pkgdesc="Kazakh language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-kk.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-kk@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ko() {
- pkgdesc="Korean language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ko.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ko@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-lt() {
- pkgdesc="Lithuanian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-lt.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-lt@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ms() {
- pkgdesc="Malay language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ms.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ms@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-nb-no() {
- pkgdesc="Norwegian Bokmål language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-nb-NO.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-nb-NO@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-nl() {
- pkgdesc="Dutch language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-nl.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-nl@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-nn-no() {
- pkgdesc="Norwegian Nynorsk language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-nn-NO.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-nn-NO@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-pl() {
- pkgdesc="Polish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-pl.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-pl@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-pt-br() {
- pkgdesc="Portuguese (Brazil) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-pt-BR.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-pt-BR@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-pt-pt() {
- pkgdesc="Portuguese (Portugal) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-pt-PT.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-pt-PT@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-rm() {
- pkgdesc="Romansh language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-rm.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-rm@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ro() {
- pkgdesc="Romanian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ro.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ro@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-ru() {
- pkgdesc="Russian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-ru.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-ru@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-si() {
- pkgdesc="Sinhala language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-si.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-si@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-sk() {
- pkgdesc="Slovak language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-sk.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-sk@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-sl() {
- pkgdesc="Slovenian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-sl.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-sl@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-sq() {
- pkgdesc="Albanian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-sq.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-sq@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-sr() {
- pkgdesc="Serbian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-sr.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-sr@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-sv-se() {
- pkgdesc="Swedish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-sv-SE.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-sv-SE@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-tr() {
- pkgdesc="Turkish language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-tr.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-tr@thunderbird.mozilla.org.xpi"
-}
-
-package_thunderbird-beta-i18n-uk() {
- pkgdesc="Ukrainian language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-uk.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-uk@thunderbird.mozilla.org.xpi"
-}
+pkgname=()
+source=()
+_url=https://ftp.mozilla.org/pub/thunderbird/releases/$pkgver/linux-x86_64/xpi
-package_thunderbird-beta-i18n-uz() {
- pkgdesc="Uzbek language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-uz.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-uz@thunderbird.mozilla.org.xpi"
-}
+for _lang in "${_languages[@]}"; do
+ _locale=${_lang%% *}
+ _pkgname=thunderbird-beta-i18n-${_locale,,}
-package_thunderbird-beta-i18n-vi() {
- pkgdesc="Vietnamese language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-vi.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-vi@thunderbird.mozilla.org.xpi"
-}
+ pkgname+=($_pkgname)
+ source+=("thunderbird-i18n-$pkgver-$_locale.xpi::$_url/$_locale.xpi")
+ eval "package_$_pkgname() {
+ _package $_lang
+ }"
+done
-package_thunderbird-beta-i18n-zh-cn() {
- pkgdesc="Chinese (China) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-zh-CN.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-zh-CN@thunderbird.mozilla.org.xpi"
-}
+# Don't extract anything
+noextract=(${source[@]%%::*})
-package_thunderbird-beta-i18n-zh-tw() {
- pkgdesc="Chinese (Taiwan) language pack for Thunderbird Beta"
- # Not assigning upper bound here due to https://bugs.archlinux.org/task/48252
- depends=("thunderbird>=76.0b0")
- install -Dm644 thunderbird-beta-i18n-$pkgver-zh-TW.xpi \
- "$pkgdir/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/langpack-zh-TW@thunderbird.mozilla.org.xpi"
-}
+_package() {
+ pkgdesc="$2 language pack for Thunderbird Beta"
+ depends=("thunderbird-beta>=$pkgver")
+ install -Dm644 thunderbird-i18n-$pkgver-$1.xpi \
+ "$pkgdir/usr/lib/thunderbird/extensions/langpack-$1@thunderbird.mozilla.org.xpi"
+}
+
+md5sums=('357af0e24691d42770b10e6c196dde5f'
+ 'aaee279b7aaa3eff8811016332c451f4'
+ 'c271afc80ed0dc972b6480b99c2bed73'
+ 'c341dc892cbcc5ecc8b48465c682df5a'
+ '4475b7f8f3d5c289f910ab9412607438'
+ '7b1dbc258054c36961b04e910cf3eb79'
+ 'f934d6228c789acd90c7dd5e83fd966e'
+ '0574830b842f9c2c3e81ab37cf223109'
+ 'a1aef06fd87b604296ad9ea0a22f74f4'
+ 'd0b3a69fcb802ff3deea58aec0277de6'
+ 'b321288c77040edf5b815d3615fb26b3'
+ '17e2b76bcc380cdc03611727564a8535'
+ 'dc0d743ff67eb71028d3e109b013b48c'
+ '1ac6c21dc696af80d0915bf23e5f93af'
+ 'a9e3284462971c33d093516633852435'
+ '1b630a2b7ac5105bc02750aeaf4e923a'
+ 'a0d95b85fb37a11af89afe95902d8485'
+ '2399923ab6c4a7f1b3395a53c3e83136'
+ '177b173adf36870e8d90a598bfb7eea0'
+ 'dcc0d4b6b3c9bc74f628e314c5dc4ba7'
+ '6c8e26981160a75074090377c523c0be'
+ '35c462a74739d162ea78b29406c163ff'
+ '6569964283003c0960f73a148fafbc58'
+ '16690f60c1b0eb90505e5beaf3fd15d1'
+ 'cea5299aa381684237070a003401496f'
+ '013eadcae0fb6e2a194b3c4094ee6f47'
+ '7fc30cc1c3de9867f6a33a3be898f398'
+ '39a7c4f7a0cff18ab12900d171b5c046'
+ '7bdaf5617ff8e5f9caaafec9bf64e04a'
+ '8dc55fea3cdb9021bcb3f01eafe1936d'
+ '444e32ac2c6630dab56f062163a50411'
+ '09fa8e910f4da290b6fbbf70a846753b'
+ 'f93a24aeed2bff9036288929325fe360'
+ '9474354bbc6480769be9955bb02b69a4'
+ '03b43347063db2887ae0ad35a5e45b78'
+ 'acda339519ca4feacf417f6f78141080'
+ 'a690fcec3d553bd3c4badd59d01f369a'
+ 'f988055f01817673ec09e1d5229061b5'
+ '7ebd7fad5fc897f6c4242c71e7c5be8c'
+ 'a1532d52fa04f5a9025cb39a2d5355b7'
+ '0e68c0d4e1af52f9382573dd6720b0d8'
+ '9f1ed04cb5508565140c76d9cab8efff'
+ 'fb643f3d0806cf1e020c5ea21da1d6d0'
+ 'cfba4a9c297bf24217fe83a53e3783d8'
+ '6bc5bd28963d02a01d4f64adc0919c20'
+ '5dca4b0733591576d1f9450d886f7fd3'
+ '52930d70d7e3cf8b837c41a724ced7fa'
+ '5a690c465b9230fc4474c2076119f24e'
+ 'e6ce555104c2d6700dc6416badc33e4e'
+ 'dc320d9191dc799891e7c3d994663d0a'
+ '790ea7d471915d834ebd24ee850229e2'
+ '459b59a5f7ea4862b7129ae59f41927b'
+ 'a55b74f47420567307499bc9454c3d52'
+ 'd54be1acdee556051a60e9b63ee886bb'
+ '8af2bb26394ae34fe9a02322bc8fccd4')
+
+# vim: ts=2 sw=2 et: