void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=80.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'ca-valencia "Catalan (Valencian)"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'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"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'pa-IN "Punjabi"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="275095c97ffb6103fa87f4c22c22a42d818cf23d1c74af624e9475cead08007e
bd53fa19c4b2a390e173442b37343983905e20df7175b5ab1737811686994bd0
274841cee009065a05a3301459ff6530d1a1823884e6e5f78aa426f084ca9dc6
d7de089d31f6ef53659a4edb27a9bda9d75c897dc003cff6f753129ada55672c
f5edb4a14d951bb0202f832618ee3d53c53380e283df7f6af3c8858d823fd750
4cf097edfdd42318c7050ec5e1d8fd48a73482bb359d3d313382f99e48ed627f
4a1ac06e196ba41a177cbddaced80a0793971353c0f91eb52fca1f75d6c757ec
f3077d29f39c2abd389e048ba1452f6755f568d548217cba100dd7ebbd714a43
dc3309e6c3100dfac3d9a612151ee99ed0a4ca80684526b9377dc9fdf3b5920b
5761d8104a2600829f051b6c16a55979abc4292606bda55a95c27fd0817a0622
01c5a6fe86035404f3fb33b37c85bb6813d7abde6acb5f28d926e746eb6959f2
7cc497ecb401da5e72127953d22bf194f5dd337c28b171eb132b548e7679f370
58d8aed096c5b56fd6cd05649d5043f88b4cffaabbf760cdcbb9029ba5cbffc3
d34682d4e7b20c597c354aad3ab52a54c6e744ac45cea0caeaed598391b7607f
fdbed2df2e0596df74bdeab95c8b24a41a9756a345c7f6da24a57e3504e2d80d
4279e1c76251dc7fb89cc77de8b83e18c9ae907075fc20c4edd2c71a6531081c
aad6764c5dced64e4de2024490905a7529f4b0addc039d9f15e295978737b26e
1fb388f61ef55cc430f8126d2fafe8fd39dcfc361236623ffbb3d8b0ead36a27
77b01247321045fa22f2bf39bf082ada1b349fc7a46e9312f77456a4d17c3acd
af0f157f50958752663f6397d1e08c36bb5047dc095a2effde6a759ca6df6cfd
bc75a9c73e2d4fd12c55da5031bc88e8f6fe4b71e3231b86ec99e3d58f78213b
c5ce9b02b9a2283abaa205421f7770c7549e24a3e9aee59d1766ad0bf52c61de
e8ff6b62222e0ea2f43f29ab9417f534e32c0f8a897db396c0f9693303d19ebb
e51bf25c51f1591bad8329d5e313b5e93d03de550a9e73942406c60d7e7670bb
4f2de924ca4f02d75ba3177d7a1ba235757b0e7710cbf4ec7eae90520144bef2
dc13a588b519ecf5d7ad3b5c7f5b80a29e831e2cd096dce7c1c72051dcb7a6c4
d89332453bbbbd4f6706331de7c86b07f89b2bfadbd606d63ea1a9fd79b8610b
6d29e349a5b7260363f11a14fcd2fe6984b1e369dc384f90e7c65fae7ed54cf7
dab3438bfe0e93bbfa1c0e46d1f6441847cbeb311560169d02a989be1a40f873
606d8302f73652e8e1d14108fe3299eb79db67075afa11fc219b27282fc90df4
a9f6ef29fdf7fe61d4fd18fe6eb9b3fa1d685ef21dc10011f5f0eb07d5e9358b
35c03e3e36f16c126d93a67b3003a2e4f21f7cdfc1ab8151379e74956f1c2878
c1d4487a4eeb99f4465d678103babdbf6462296112775a9d71049c11430afd28
8071b7b8077f584e31f2ba6304a795f98f84cf733712c7af73180e75e9d406ca
4f66114199f821d18f6cbb11a761f63487ddad2e347151408de0e74ea4eb89f6
528e198248092959eb93515d4029c20df407d3c55a31ee0ebe59735a3d7c0ce5
b0c31790e3266f9ca6f2bb383940972cd19960c915a4fd41113a0c019e20a95a
ce853afa2d0347ff46b5f7df5ca1647fa730d06b9710b4552fd2c7cf0fd7b822
0931ae750abac270f1a2d98bd5b98ea07b942afcbf93f926bda955be50f9051d
c4ae8c8cfe94635928d723ddc736245599ede9152310cb80556956f67e41ed68
d44ad563c3de37bddfc4b67b07ba2bd09df0ff5313f41de41ea95f04b824bc82
c320cbfe135e60628e8a341459dd1d19495f2dfddae9884c0ecb3580bc53b4b1
753e294fd7e2f3361c5258e9b1d8acb932c24ff97e08000dffaffb536fdfea7b
c665bc65dd6e5488553c2503a1cf260963b1b16af65038d564297a42f91d07f7
47d2cf8706092946fac7f0143bd8a0e6ec76702b26f71a8a76fc3f3b7af0ca7c
186bf02535ca8afea765c029878c4a3cad1b86e99f99257af9c25e521a9d662c
14ba72d2f05cf88258ec89e899aeae7652b9c14801523a265cbf59e8f7e2156e
11fac2f4995b03e49122d1246eef6f871a5c415669a04372511f9a95fcff5e8c
31ca6a02deb8f4f08d929daff441bc60723df227e3f70508a90bf36cd3f6cf14
c5f8b00d32eb0fe95386502ed3532e921f1ce5f9b2cf3d946a9845ff048fc6be
f76918a66b87014701c6bafa363a545112fb720546f0dceb5471c8f35d5718a5
cfcb2932431ee567dc417cb3b3f6753f596e1c78fe8bc52ea9e5e562af18785f
da10cbe9827043df40f4462bd3b9031ec3433bb3afb3f2078a4d8aa52d6c815b
052898c537cb5280757b67882ad531506cea2722def70f228ef4aed9418b083a
29aad34974811243de9fc3ecfd95921c4aae4cc332df1d1ac3b6d69cc32b14cf
52b30b867483bea39dc4fa567e0139da4cece9133d4acedb3d340fd355850a28
4a4c673d1cd1a4cd17548fd57c4ea4915011ec384daf13a85a6bbd9461b5423d
a53ddf6ae8641f859b033195f33fc0fdbde91a12f6e75d3801de69f209148694
f4faa818a0e2d22d920a592cfb12331fff35811d6def817b7621d26d75a2137a
e8cddc03fd384520dd74c0eadbb363210493e001eec58f932b20e37626f1f64e
b79311677baea894aad922399e6b914bde6aa7130774b0db7aa655c82db349b8
8ad909d0f1567ba605f5cfde7b14b66b0317b06c5dd87c27eebdbd1a264d32fa
96c3672eef31dfddadedcb3ccdd2c21785ed57d37e25261a69956a3020ec67bd
22054919c438674d0184c920264ef5a42a976679d4ce740274b37568e18e6581
323a5c1b50e0e89541457cbc670b22cff09243999150c73b852e926627693a65
882fa31aa33e366182094bd3bc4f3aea68c586112cf97e93cd6dd61fe580ac31
de2f9a05edd0d33b62a543c0de2eadc7f72d216add872bd83f85660896c17368
5b1f568654929036e5ffdf9dc21f39b588a349452b91df8f808f3c9c9f21fb7d
566b6dd3c6ca49a15ffbf281e6749128f7c4da4c81ecd099f316070aa6b7f3b3
60bed167ae0eb079f9c52f14ca8575a62ab81a0eccb2cb25afc00ee3ea034367
41ba6e90fb8d2bf743402bca1239211277584a879dea946df629cbf59369bd6b
4a9573cd162480e765a597b0efd7c9e334f2820334e39352c9a3716ddec66a43
dda5ee90c18f1eac784dd040a81d9a5ca483481cb781a3425ac2bdb5dbcf810b
284d181558ec4cbfa460f31b757cb9a33f90827429bca761544cfe51325241a6
ee11bd3f9c2fbaac4099d96b03f7cd7b9b96b43c4028b319199de5a1c1193e91
d0305acea5f95703bba5256efb2910c97414506a84d5c43eb300498917de6ca1
2c346e07335d868f6c595c4d36f0d574b618a0ec072a9088ecd3c936d33af13e
993d6746dc4b860243284063e0e2d6b70d82910b8ca43f049aa8e7b365c6f613
46909d1f06a771726988c5295e8dfde12658bd81d9471c34a8347af90d622f12
5c016890e326cdc60755bf3455d4ad1cf8b01d391178197fb2ea9890fd713b54
04da0417a3d464e047ef01ad030ad137383c900ec1a7906c2827dd14eabd07c1
4cfdc596f8ab71fab41ad452beb9bb78e61fd71539b1b14cfce3848b73702746
2224fad3175b53157f795f69838d8005dd97f3f8540a4af46a1d7d159b46eba4
341424f93f027479c75adae9834c61291b87a1b6bb85e376d6a66be4c5cada63
560c1b6602874ab4347b88100c14c1118b622b43b9f569048c80c93ea37b1fd6
78c795934e43ac8308e8115383a9dc959c3e1c1019ca076783a4aabfb2211f42
9e7dc2d0f0ecb34aa3bd4db1599db6f96b78a9ddcd6dea4de794b7c689785aed
99798f0573c1b19e1e9bf8148e3e7937a071b8a758fbd5ab8408552c7cebd762
c10ed52acef40e483e59c0da90bf92883aaea1464edd083d61ef758f4195fe3f
06cbbdf006fb1dee0e2982d2662dd2c52ce301aea4906753bbd8d215ab44ed7b
2c71ddf15d403ed19c3067680aa020ca88920ef4d40d445736afa0d516d9d75f
d9ca6abbc983622564aebf6ff238a4796791e4b0787d07a64e190b3d5f3169fa
8927958ab744bbf6c9c4ecdff22f165b4c839805659e2f8f326dc7c2493eeccc
02b67d682ed285926bf730c9d555f40e32be521e67cdbd65975363a8e89790fc
363ac019753fd73289e0c1d2f4e6c0e2465aae21525f5c7d1ba2bcb0120ade9b
0ccc28a1ed2c29e8084e5becf808cf462fe5711c4ac4d741ebc9e8b28980d124"