[arch-commits] Commit in thunderbird/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Nov 20 00:26:25 UTC 2020


    Date: Friday, November 20, 2020 @ 00:26:24
  Author: anthraxx
Revision: 401502

upgpkg: thunderbird 78.5.0-1

Modified:
  thunderbird/trunk/PKGBUILD

----------+
 PKGBUILD |  173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 158 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 21:16:30 UTC (rev 401501)
+++ PKGBUILD	2020-11-20 00:26:24 UTC (rev 401502)
@@ -5,8 +5,9 @@
 # Contributor: Dale Blount <dale at archlinux.org>
 # Contributor: Anders Bostrom <anders.bostrom at home.se>
 
-pkgname=thunderbird
-pkgver=78.4.3
+pkgbase=thunderbird
+pkgname=(thunderbird)
+pkgver=78.5.0
 pkgrel=1
 pkgdesc='Standalone mail and news reader from mozilla.org'
 url='https://www.mozilla.org/thunderbird/'
@@ -25,7 +26,6 @@
   inetutils xorg-server-xvfb autoconf2.13 rust clang llvm gtk2 cbindgen nodejs
   gawk perl findutils
 )
-optdepends=('libcanberra: sound support')
 options=(!emptydirs !makeflags)
 source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc}
         thunderbird.desktop
@@ -33,17 +33,7 @@
         distribution.ini
         mozconfig.cfg
         configure-fix-passing-system-bzip2-ldflags.patch
-        thunderbird-rust-1.47.patch::https://src.fedoraproject.org/rpms/thunderbird/raw/86967ddc206310ba7bb9eb57a933031909288ce2/f/rust-1.47.patch
         thunderbird-78.4.3-gpgme-double-armored-fix.patch)
-sha512sums=('0c441f5a55301f4d012caff111d6a882205048e4adf301ff3cfa553e1665e47a1fd835a926bd97c61e543a79465c5ada73ae699fc56425dec3dbc40f17b75620'
-            'SKIP'
-            'a0061fcb2a7f66061e336a8d95948592f56f4752e56467f14ba63846720ebf845cce7511d1a2637e3b80d5a1ffdaa2fb783fa37195103425ef65222d45372012'
-            '6918c0de63deeddc6f53b9ba331390556c12e0d649cf54587dfaabb98b32d6a597b63cf02809c7c58b15501720455a724d527375a8fb9d757ccca57460320734'
-            '5cd3ac4c94ef6dcce72fba02bc18b771a2f67906ff795e0e3d71ce7db6d8a41165bd5443908470915bdbdb98dddd9cf3f837c4ba3a36413f55ec570e6efdbb9f'
-            'b04e8b11360f41e0cc0eb0c307f062569603372ed15112e33a0ca893c5622217c3155289b3560c0ba909306faf25ff98b7dc3944ad1493e0a8d940306be5167a'
-            'e3ed2708b8354015cb3d2c81048d1ce4932d1effbe2b40efa7cf9b45c1b923b9fd708645e2f8aa0136a485a3f7ce6b396b85721aaf535a4a764fd5005fb7e222'
-            'd337a77104d411df219f3ae1c7d136ae92f944a18969cc92e6257b4f909204677a58df43187d41f53d4c36c29f57f53bdbad90d8263e6a9b0781640944895cad'
-            '92f4c5946f288b30728382830b99b91980ecd845d1606ab251bbdde5cf53387e966727a23f35a3bf7756ee77e72e478f3fb468668e8c412f552547eeb3408299')
 validpgpkeys=(14F26682D0916CDD81E37B6D61B7B526D98F0353) # Mozilla Software Releases <release at mozilla.com>
 
 # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
@@ -61,6 +51,8 @@
 prepare() {
   cd $pkgname-$pkgver
 
+  echo "${noextract[@]}"
+
   local src
   for src in "${source[@]}"; do
     src="${src%%::*}"
@@ -79,7 +71,7 @@
 build() {
   cd $pkgname-$pkgver
   if [[ -n "${SOURCE_DATE_EPOCH}" ]]; then
-    export MOZ_BUILD_DATE=$(date --date "@${SOURCE_DATE_EPOCH}" "%Y%m%d%H%M%S")
+    export MOZ_BUILD_DATE=$(date --date "@${SOURCE_DATE_EPOCH}" "+%Y%m%d%H%M%S")
   fi
   ./mach configure
   ./mach build
@@ -86,7 +78,9 @@
   ./mach buildsymbols
 }
 
-package() {
+package_thunderbird() {
+  optdepends=('libcanberra: sound support')
+
   cd $pkgname-$pkgver
   DESTDIR="$pkgdir" ./mach install
 
@@ -117,4 +111,153 @@
     "$pkgdir/usr/lib/$pkgname/thunderbird-bin"
 }
 
+_package_i18n() {
+  pkgdesc="$2 language pack for Thunderbird"
+  depends=("thunderbird>=$pkgver")
+  install -Dm644 thunderbird-i18n-$pkgver-$1.xpi \
+    "$pkgdir/usr/lib/thunderbird/extensions/langpack-$1 at thunderbird.mozilla.org.xpi"
+}
+
+_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)"'
+)
+_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/linux-x86_64/xpi
+
+for _lang in "${_languages[@]}"; do
+  _locale=${_lang%% *}
+  _pkgname=thunderbird-i18n-${_locale,,}
+
+  pkgname+=($_pkgname)
+  source+=("thunderbird-i18n-$pkgver-$_locale.xpi::$_url/$_locale.xpi")
+  eval "package_$_pkgname() {
+    _package_i18n $_lang
+  }"
+done
+
+# Don't extract languages
+noextract=()
+for _src in "${source[@]%%::*}"; do
+    case "$_src" in 
+      *.xpi) noextract+=("$_src") ;;
+    esac
+done
+
+sha512sums=('dae49dc0910dd017250643c920c79f03d3ef14bcbafde7fcdb3aaeba2b27a42ef6f88c8de8b961f8bb1c3d1a153bc8988ab43a39eb051d81839cf3b9e8373118'
+            'SKIP'
+            'a0061fcb2a7f66061e336a8d95948592f56f4752e56467f14ba63846720ebf845cce7511d1a2637e3b80d5a1ffdaa2fb783fa37195103425ef65222d45372012'
+            '6918c0de63deeddc6f53b9ba331390556c12e0d649cf54587dfaabb98b32d6a597b63cf02809c7c58b15501720455a724d527375a8fb9d757ccca57460320734'
+            '5cd3ac4c94ef6dcce72fba02bc18b771a2f67906ff795e0e3d71ce7db6d8a41165bd5443908470915bdbdb98dddd9cf3f837c4ba3a36413f55ec570e6efdbb9f'
+            'b04e8b11360f41e0cc0eb0c307f062569603372ed15112e33a0ca893c5622217c3155289b3560c0ba909306faf25ff98b7dc3944ad1493e0a8d940306be5167a'
+            'e3ed2708b8354015cb3d2c81048d1ce4932d1effbe2b40efa7cf9b45c1b923b9fd708645e2f8aa0136a485a3f7ce6b396b85721aaf535a4a764fd5005fb7e222'
+            '92f4c5946f288b30728382830b99b91980ecd845d1606ab251bbdde5cf53387e966727a23f35a3bf7756ee77e72e478f3fb468668e8c412f552547eeb3408299'
+            '5d28982dbefb8d7186490cf3ba591b349321bae46ec0b30d79749389b17678f739ef04b6943e7028b223cea7e4835edc46fdd397c0f64439adba02321ed5e892'
+            '845b5c19ef773ca2a169122e3a8dd2513a91f016748ca834a0d2eb5579455be918ce38f77e71257c916ac6cf719c4c25795851cdd1b716029d75c4705a5de0b7'
+            '9c0cd7ad9b3994b87f48cb406a758d3b10e9bd397ff782f9e5d0a9c92467b25c5cf06ca81ac00e117b2080268a6500d78283dc8c281304941508c7c963cccebd'
+            '3386be24f48ad47ca7467997831b1f81e79f2007da5e74699b929b8d023ca715edf6354392b4865ef4b62635f3689902ac94c700b1941cae584691d8cda5cbd1'
+            '78803f838b4c7315b5761f0a93e362cd267674c532758e29190ec233aa886dd4840afbdf298856cf726540b21b6d67e41cb79781e8ed467a45c1724b0ae6e165'
+            'd5e122b96588ff32fd775da351d90a96db21850e73e00cfcdca1da65bc6229a5e481fea1c4b3e89a1dbcccb24ae55e60daf7952af6416cb0a7c0c671569705a7'
+            '1a968bf633093513d326242d2ff057cee9824d91e3328b3bda6b2acb18aaafa4540bd2f974f8be0b4767a3a4bef68060d96449fafc9ee9e877a02527d4ae7d0c'
+            '53005cd6f409fed072211a504faa86f4456ab849e001cb44ad99c148228b11f1885f8d0a2505dc9f71f83c2061c8d7f67d2d5e6752e35c07f427536a978d2efc'
+            '7c3af279f77e313c79b26a84ecb937cf799dce35abdbefdf1dca084d532a4121248b5ae056f9ec370171e8c1bdb70a6b05674b2b5eb1e7e7b7b9a51f9b5d0e61'
+            '63a326c45198aa2d41f8621d0624a412dd635955f0397090d931c2fa3fc7a3fe6e9e896c00954cee9fbaefd6650de4b86571d038ddd8c60f81e5c2c661df55a3'
+            '300e63b1f3503bd8943ad757efb4fc04564e316a3484445750b29198ad3c1a41a485728c09b81364ea6538f34338d0d3addc85996855fdbe0ac4d6ff50c21b9b'
+            '58eb6309690db9b871b3e7d1aad35ad26dbaf84ef5e17207d4fc8d46ffab5f588592858aa56b3141b2fb62f77a2454bfd6e86260a33e455bd870bee822a61e02'
+            '0af500a12631db42c986fab910e30ac6d385b2b2c51960c70b21dc1110d6073681ba2ade60447eaa1e5d52052fe3c2217f2d70f817b250b22ab3a7ec864f4d70'
+            'cb8ca0cab9b5a5a171fc8a4f2c63190c1edb6538e0627e9d72770a53ba7e5fb2ffcc9c89c3ed584e433402eea8583e23a3676f7420602840b2be66e9570469be'
+            '4b3f29a8ca6e03af2413ad8a1776412eadcd280fa9fc90b0e6465ffc0915453e792abf1ba9cae05b2a8e3b07b103d76524bc9725d425189babc8003dd52deb29'
+            '0a84d0adf2ca64b0d869c39a59a493d130cad491e02f2255aa5360f573a65bc7cb5666842378485f2717673087d452570b90d59ac97b2e48f2486374b042ddfb'
+            'cd57822ccddb61092d5b8b9330578aca883d2ea4d536e7f1e9546351f382b7a78f171905c360c9a4aef143983ff83db85b062a34b1828a1e99b992ffccc2411d'
+            '53e0ad6c2ea7d08b47852d399b1c1139bea0ce6b0956f8458e4623524abf4213f0f2b085250964421586523486d95ef4550b17afd435db3905dd08afde75aadc'
+            '6b5071e983d2cb87957e097f72383501dfa1487fa16bc69d8895e1060768d4470ec54e402792c254a0f29cf5ed5aa36927b3bbe5b29aa1e3e85ff593dfcae2b9'
+            '189d57b9e2400fc64385df87bb7108e85d145b003bd528231dec525cf5271cb68dec4ed274107350d3895799782b8837e51bf0e23d19c129b26ee80d169b3174'
+            'b68691898d813b25751c7785198ea934bd268536b6ff955cada16692b53c31836d41d9630dd2a19fb6e41c181bd4fb4d183dfb255ecd5b6a3ecbefb1af316b15'
+            '12f599046bde3d5b5da69575ff00e7bf6b106e8d4b69a838d38542ec77568db3b0a702c7eb73a7a0572b479547b2c9d0aabfbf4496740e8a5c3a76cd75c602bd'
+            '6837e09384170805e5525fd0421dafc9b33f2ae24955ef7d7c4193418d12cabfb6adae16d81719ce41cc9931d2c4c47eb61bc0ca77e4018905e07c07ff6d3d28'
+            '8adabc5252396d873e4e85edf7bf42d1db91f9a4fbecf81b44a99f550375eb2f3d0c6cd95837edc10637c0d1f27a6b05e050a47c33b7598449b97f30b6927cb1'
+            '47d1b89dc20cdf01b5bf49afa4a6dd7e93f1cda6e9a557cfe2012305832f9e9e37a2fab1ffcea1be173030dcb4229120b0f19381bc3e4ddf572235237e23adfd'
+            '762789377ed6766475c6a9fd35c89898088fe5cea59ea1540dd654b5bdc017c3b5b8314639d834093cdf9808002a8ab1f64b9bd2b18c9e1f4e2569adb1e1e390'
+            '1115090bc146536a9fbc5ccea7e599814fc2351bd499d66d95844b16a71599067eb2c593e21a3a49934689312841d974328ea8d6a528a97202364ac0010d28de'
+            '04624a6fe98b6e0786e74b9a2ee5d769a477b74b35b92f83e84e4570554750d9cfe49cadb6613fb81345cfbc32fc7cf0128c0df740908f74ac16afc59f866ad0'
+            '8d459e9aaa2db307bc32e004d8d8919dccd17b02da08fdcc6220f654669c315c85fa4eb26084bfbf6250a95552b2781d5afabd82820e4292fd2e4d897b67ae6d'
+            'cd7868591687ea85e746f22ded825b7c64d640666faaad61fa543baf3d4754d2363d1d6899285c694315db5a4800be18e59e56b28455c6a96a03909e7ef00776'
+            'f21f12913d4a79dbcfb5688dba909345404761b2832467e9d31b370aa39c7fa7ed06f8b147eb8e55161bb345a78c4fdee7e8f1a25da9057c78ec76b5414ee18d'
+            'b79a5eaec4b7e0e043bd0b39a0129326b2bdb11793428e8f722405cee5c922575876528e5da4109bae97546ef110c864910d35d5b791f04ffda24bf5f1e3974e'
+            '8ea3d523759fd92464ffeb6f5432f80259068cd0fa85003f007be622bcbe788a59e6efc83feb736673db95e32069e132cbeb08eb2f21790e053ea9b32bf9d555'
+            '74985c58df4bc72bc1719383dfd8ae2ad601105645f852caae922128afc64ce10354edc11ab1f7e8e517ce95196db52ed0fc0bc41adffe521a2450302bcacaa8'
+            'd4df0dbbf5c9055fcd5f64da33b715d597408a65e684e59e7c05da70a16a0a4c6dc057f031b1eadcc7a499c10afa0cd8987c857ee408592a47fc4e7aab44998f'
+            '524c9ed6e0a66cb53f8394f8459ff34a2894b3d07edced3eeef1f1169b275898cc6c2b30fc78b4f4dd06f1fbc6651999a7050cd428cb0bf2bf439f866fcdfd69'
+            '3621c41faea13780a139ed7485e9904893552b8b3e182f34ea49fb4a2e4f85654aa26fe7b76753b8b883a04d481e808bc616758624fc61e7ff9aed1d09e92df8'
+            '4560e185285c942667ff7d9f8af6659fa11efd4c2c5cbbe85494beb084f6bc6671a88dac0ec46ae2e738666a718cb14695e84e6a8e67dbbc93ad4ceb3aa04b33'
+            '1b415108ae218ea9269a4cc2f51fd64d716deaaebc8116a94611fe2800c39ab56c123345ff4d075dca92cae56f00e97bb55f205bdb6b19948528211fb6574528'
+            '349c8f47cf1405210d01e91a59a1132c47a84771d5da878b5f668f497e522d259c3ebd4ff1001604f580c1b54a3ff4fbe6084785b4c580c7a9b79056153afb9d'
+            'cd00271ff1919b88920d734706670b63dc00c6de4b0caa1c1b5e91f7f7ea5b82fef18452ee228f6949222bb6ab3d7a297c3123e3f10d34a7d7090afa186a930b'
+            'f81a43a476c91d8f3d6f830bd27479b92a8fadf539f46fba8ca0dd07dbd2cb639ece560fcda88764e4510e8854537c5a558e1b837a4e7fd6ddc1dac914a88092'
+            '53356a655803f14d68312d461920d3a6f17db118547fb7d040f5110d4e65db76104e072646b3849efa5ca47f027e5c761a721be83ebf3cd200e36b9deb15ebbd'
+            '2ade9448e0178aefa8ea032a2e53a42b8f77641dc56e790826f44ff3628d381dfd490b08164838c85ed80e84a69348251a1b5920291586720044a51e587b8b5b'
+            '5b22ef4072b0d81ccffbd62ac6279a783a5acf716b67561d206034f66e8569935bf1d0eca8e03d6af7a4601acc1176be0c78bb40daf95c544bb11b918aad9673'
+            'e948a48e333306d744dc7c397b2839ce4b899a44c72c68748557657422ca0149781395c870a3bb38e97f8a2a786d2373f3aa64331e99f392b6bd451a3dac1a6c'
+            'aae9faa7de38d6d55e39bfc95ee035526bb7cc67136afd80b3304930067a8739cd5e8bb4d867fb49f2f8de784c4fd306857d9139a5d619f1679e5e7d64ce7c68'
+            '9ba4ec6ae1b69802d2db51649f05db16d1cd472af7fbb7cf00dfa87cebda6496bb8c293f88aef3bdb5b0cf84c8a751eabb461673b2dca2d89f7a049cdc01a654'
+            'e85a21aaa1e83d97470241fec487b8df29982a21e7a0aa1ead9057b6dd2261f103882b31e3fd39ed1b35b296297651976e998d80f07eae135bd35538a97ff64b'
+            '2d0f6d8f7c5d7661c4a6d2a09487c03b952a4c542631b4b9d947464e6e74e6b760dbe7ecf808ebc8fdd258ad5f69211dbbbe7b68b08770b67b8eebe5413968cc'
+            'e77fc7064bc530df959e73f0bcd2e977cc09ca3cc0adde703850a3c89b171e73ae57a9b7c715e75310b8d6ecc2a3444c36519e2c56f9c0c7aba561b26d8f2f30'
+            '58006c2a3af3893bb94b73e440d82b2fa690e0d97af866b9de94a998ac559c36e97d8e1992d2e2915005c3e0628da038639a62a4bcca9fdf555ca08aa7d34676'
+            '2641538591d060a60abeb25893bee0446a55ee750de430e39ba147ff1620836a9f486f142e3f1c1180bc7b3c142b399cbb2765a162b792f8fcd1884163b7d61b'
+            '569e3dc49d102d56b50d9dccb7587e76481bc637f008493c40fdf7bcf2b7dd58c776131ac3cd6b37d479b900d77da4621e7c6476526159a0026da7bd156a163b'
+            'a7a5e00e02ba66fd8dedbfe60af12843f5af67aa72e43c4b99bea1c6edd598d39219a58e147f819390a7d2f1536a27e87f63139a4014d84ac5ccb4ee653ccde4')
+
 # vim:set sw=2 et:



More information about the arch-commits mailing list