Date: Wednesday, November 30, 2016 @ 22:08:05 Author: heftig Revision: 282396
archrelease: copy trunk to testing-any Added: firefox-i18n/repos/testing-any/ firefox-i18n/repos/testing-any/PKGBUILD (from rev 282395, firefox-i18n/trunk/PKGBUILD) ----------+ PKGBUILD | 224 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) Copied: firefox-i18n/repos/testing-any/PKGBUILD (from rev 282395, firefox-i18n/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2016-11-30 22:08:05 UTC (rev 282396) @@ -0,0 +1,224 @@ +# $Id$ +# Maintainer: Thomas Baechler <tho...@archlinux.org> +# Contributor: Jaroslaw Swierczynski <swier...@juvepoland.com> +# Contributor: Michal Hybner <dta...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgbase=firefox-i18n +pkgver=50.0.2 +pkgrel=1 +pkgdesc="Language pack for Firefox" +arch=('any') +url="http://www.mozilla.com/" +license=('MPL' 'GPL') + +_languages=( + 'ach "Acholi"' + 'af "Afrikaans"' + 'an "Aragonese"' + 'ar "Arabic"' + 'as "Assamese"' + 'ast "Asturian"' + 'az "Azerbaijani"' + 'be "Belarusian"' + 'bg "Bulgarian"' + 'bn-BD "Bengali (Bangladesh)"' + 'bn-IN "Bengali (India)"' + 'br "Breton"' + 'bs "Bosnian"' + 'ca "Catalan"' + 'cak "Maya Kaqchikel"' + 'cs "Czech"' + 'cy "Welsh"' + 'da "Danish"' + 'de "German"' + 'dsb "Lower Sorbian"' + 'el "Greek"' + 'en-GB "English (British)"' + 'en-US "English (US)"' + 'en-ZA "English (South African)"' + 'eo "Esperanto"' + 'es-AR "Spanish (Argentina)"' + 'es-CL "Spanish (Chile)"' + 'es-ES "Spanish (Spain)"' + 'es-MX "Spanish (Mexico)"' + 'et "Estonian"' + 'eu "Basque"' + 'fa "Persian"' + 'ff "Fulah"' + 'fi "Finnish"' + 'fr "French"' + 'fy-NL "Frisian"' + 'ga-IE "Irish"' + 'gd "Gaelic (Scotland)"' + 'gl "Galician"' + 'gn "Guarani"' + 'gu-IN "Gujarati (India)"' + 'he "Hebrew"' + 'hi-IN "Hindi (India)"' + 'hr "Croatian"' + 'hsb "Upper Sorbian"' + 'hu "Hungarian"' + 'hy-AM "Armenian"' + 'id "Indonesian"' + 'is "Icelandic"' + 'it "Italian"' + 'ja "Japanese"' + 'kk "Kazakh"' + 'km "Khmer"' + 'kn "Kannada"' + 'ko "Korean"' + 'lij "Ligurian"' + 'lt "Lithuanian"' + 'lv "Latvian"' + 'mai "Maithili"' + 'mk "Macedonian"' + 'ml "Malayalam"' + 'mr "Marathi"' + 'ms "Malay"' + 'nb-NO "Norwegian (Bokmål)"' + 'nl "Dutch"' + 'nn-NO "Norwegian (Nynorsk)"' + 'or "Oriya"' + 'pa-IN "Punjabi (India)"' + 'pl "Polish"' + 'pt-BR "Portuguese (Brazilian)"' + 'pt-PT "Portuguese (Portugal)"' + 'rm "Romansh"' + 'ro "Romanian"' + 'ru "Russian"' + 'si "Sinhala"' + 'sk "Slovak"' + 'sl "Slovenian"' + 'son "Songhai"' + 'sq "Albanian"' + 'sr "Serbian"' + 'sv-SE "Swedish"' + 'ta "Tamil"' + 'te "Telugu"' + 'th "Thai"' + 'tr "Turkish"' + 'uk "Ukrainian"' + 'uz "Uzbek"' + 'vi "Vietnamese"' + 'xh "Xhosa"' + 'zh-CN "Chinese (Simplified)"' + 'zh-TW "Chinese (Traditional)"' +) + +pkgname=() +source=() +_url=https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/linux-i686/xpi + +for _lang in "${_languages[@]}"; do + _locale=${_lang%% *} + _pkgname=firefox-i18n-${_locale,,} + + pkgname+=($_pkgname) + source+=("firefox-i18n-$pkgver-$_locale.xpi::$_url/$_locale.xpi") + eval "package_$_pkgname() { + _package $_lang + }" +done + +# Don't extract anything +noextract=(${source[@]%%::*}) + +_package() { + pkgdesc="$2 language pack for Firefox" + depends=("firefox>=$pkgver") + install -Dm644 firefox-i18n-$pkgver-$1.xpi \ + "$pkgdir/usr/lib/firefox/browser/extensions/langpack-$1...@firefox.mozilla.org.xpi" +} + +md5sums=('90aa18179e6e587f4b2474e5e111895e' + '6601003ea666af94010ba1d2c6092288' + '7e41a6805939fb5651ab7f62bc53ddf4' + 'bb97af126078ed5205432568d015dda0' + 'c416d553acc43199138c89ff0505b098' + '1594e3ec7fd30a8ff0ee42771e0e1a54' + 'e22279c62089c56001282e469f446f10' + '89c26e9f8ddb3755925344c1945af5c6' + 'd76b3721ac0f5a3f07f1c633395afba9' + 'ca981b426c2ab3a24c0b4ac6c7a48256' + '65a0bbb1cdfd643384ba856414b4af5d' + '45384cd3de4471466ddf8a1391b2eeba' + 'd0d2eed07e00adb1bd6351b305da9a7a' + 'd031e7955a14b63d937ac1ac491d80c7' + 'c1b6238872715b0e50d488bfddfe8e1d' + '56df7ad882e6c8a44817506407bccee2' + '72770d51cd506c8382f50319bbb68c49' + '6c182d16fa84850278659d71a3ac4198' + '9f20670b75c953d51be9798f29c24944' + '06b842183440f1b9da522e6e7adb3ccc' + 'b4936333208ae2199082f6ad25dd3c88' + '164057483a3b902840b848c3d539d561' + '4c1949ae5d8bde43672b9cd1173faea4' + '709c7edf45b55d604e4392870eb8252a' + '99a67e6dc87f6489ddef78a0281280a2' + '43609727406a9ef62893d891ffa22cd0' + '07d25bb374902c61c0d47e286b933f9b' + 'b7b3dd81b1387aacfb8722678e01ddfd' + 'f7b22986fd381760a72ff282a0d5c06d' + '850ddb6c0a6846ac36a065c4a25dea57' + '2ff0e3774406af5731f7adff815ab271' + '9d164854abc22f90b1bb10350d5c21c7' + '91a3b3140bb30e3edcf348418d6af9b1' + '8d9d0a5cb704bc8819281319e6a01919' + '92236ba8ca049fcdd901aa3a95fa218b' + 'af28f93d02775ba6bc62b2365c7d2d8c' + 'e3cfb4d13e50161ee2ad459a30765e12' + 'f71280e7a55aa2f43b1a44faffec4714' + 'f977ddb8922d854f9bceed54ce38ef9c' + 'b3387fcceeac51569e888dab202550e8' + 'afe97ed45614e110ec787e9bb043ac53' + 'ed95157da2e2efd98890cad84dec89a3' + 'f1a36f174f37d541ba9217945dbca91f' + 'b6e2873f44ff446336c823b0b4ea35d8' + '8beb4ed8f927c08bb1f38c97add09ec6' + 'fa19f4e185992902677e78382e88b7c6' + '5afb3c8a621acae9ce199d368a40a11a' + '1733ac87964de2e4a51203c25a7413c6' + '7af7d59eac45cc9ad02230a96f500c89' + '476536186b68acfc366b26f773aa1df4' + '8b982348f4762a127220c0f664073b0b' + 'b116c7a54b37121be591a61a31208699' + '94921a25091c8cefc6db4af626e41f85' + '2140680f87db93f6cde3185189178821' + '3808cd17f402297b2611cc5d2bc5c86c' + '905eb9eafbd61ce54d18f5d232f343c7' + 'fddf3f3ae78ce2759b0e192a7832ad19' + 'ef83a8f2565d96d23d57699352064e25' + '24e885c2a4a327375cd031d034ac251a' + 'ad7a6d8fdba85d31785f70c11d6ba88d' + '81979507fe018c1175960ce65eb08817' + '5efec57cd757016c6d1f99353980e833' + '75a800948e9dfe822e9c5b1d285b7ad4' + 'c8b103ce15dc95ed55ab9b781cda1fd5' + 'f111b4c97247fa9984655cb6c517ab8e' + '2c9435c92a211f9f0e403c1f8b0a88b2' + 'e77ed8dcd290371c2073ddf1751a8bfa' + '1d2d5b70bb1a8275fec61cb772a0e836' + 'ae25588d779b75bb70988e5e8d96a716' + '89f70db873ff4679c8c08e2b89d8e6ca' + '4d6dd85cdf53980203de5bc4027d63c5' + '925a3a5c8b38495dd74598eacad1b5bc' + 'a5a148d5b022710fa21858ad54eeb04f' + 'e5512c7558a270252b1c3221407b93ca' + '963583b383a80c38877951f18e6b7530' + '24a79ca59a2ec646a1e6a496f201f929' + '2fe818b00f0a4219c9013647d24a9362' + '69936e224a8201185c96b115dd078e1e' + 'ce80957a9b1c9a2056a2624500bae70e' + '7e4b36bf888431a0fed2c1cbacad1e4e' + '2f61f666b2415f16f8e72109d31c1d74' + 'fbfbff3f42f6567fb9e332db9968bb29' + '84f4e1dbf4d8aaed80e5f6a0e356d332' + '26dd48178cc2f2116da37af2153c6010' + '07121dc5afd81811b3a85bfcc7135f30' + '985ee6c97fab40274d01f078a9773cba' + '00eb9b156e5379e9a15d4e1846826287' + '20a51934a61dabc9f5de8df950a06045' + '153fdba696ff4c06fc4b8ba1da7b1b66' + '25e1719253265bc2311133f8f00deb1c' + '7383eff92f65c920a7efabdb42f7a304')