void-packages/srcpkgs/firefox-i18n/template
2017-07-01 00:00:45 +02:00

224 lines
8.6 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=54.0.1
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "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"'
'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)"'
)
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}"
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="
2ac6571fee99dbb0886e6b4d75d9ed9b793b5a2551413d0969c4b443e797b9a8
86e4a12e511e7a88b7eb762b0755984e72b8774c77398481609237e9ca44b4a5
a925947a8d77450357b2e85454c8b02b71f2553a6abc373d6ef865a098acef6a
8e7d0af2143a5df4f93fb70d0e240180b897320234d9e0f17274f996c9e7ca29
3f4f218ce4da291d008630f20b29d032182f8c5356c387be81a55616881585d3
b215e69042c029156b8e787c03f9504beb5e056ea71f0e8e6eb706205f8eee1f
a092eb7b69b97e44a375ac1244a8f1bfc48acfd7d99051350803632273164e68
2d12828369f44e8c805e2825946cec5ef040585a92b35c89ff17aceac8a0a83d
ab3a823e662776edf0aeaf9c4535f451ebe4e8ad5811023377ca88eebef56306
0acff03ac54f2a4609c626d4e5b461c0abacb8b24d6df4dc1b3f2cffc6baffa7
e164f7ba23ce3fac8240f9f3cb3b44dd0555c558550d0f9fc98cbfa5eb05de8d
7b74a68b66b6763922cfa08ed8c2dab8dad64fe4b8cd8e51f3b023c635d0dddc
104ae2cc9b629669005648e5fb2e7cad06965eb700c6246bacc8874c48180b82
aced374c69e3cd85800b685bd1003b290b58f0a37c870e42badce50c740a0a36
937ab90c522119406605eb0051f81dbe0a0c716826cf222cee532bbaeeb049ac
6a095bdbe2c274da1772c87914aad3ca4a788f6f3a0d3a10d9432cfdf646a6a3
1a0d5e22c79b0f558031b14edc8aa8a4dd1ce0a5c418549c68c8223c5ab7a7f9
1bc9004a9aa4f41245c610ab0c239496cd649157e8ad7bbb89feb83585889b60
0946b957ff6765bd30171477394ed5e0345cc3c6dadf1fee07b85a57d789515d
60f7e95db941c2c2b9bdbbb7b4c601badd2cc92f59c716e3ea82294fb7078e63
50b09222acad38c4d2a878850905b55cd399f5923fa9aa2b2fa118a48560883e
14e0d08ce9fd79cd1b9ade2c19d92b255b758384c7e7e608d573beed36f639a3
1fcea8c4bd696913c4d93fdd8dc3569707de035e6b5ed4808892e85a8945b58f
d32c2f771aea465c62c4b9d782fccc1d22969be3ea827027d7acdb592ee66e19
c1b6a6ffdf9f74d653f72cf3157b820b95eddf26fabc72be3d2bae84457f5d78
222dd573b6f877926bee2d58963366b670a4d5176c839663073da1bb6ff51eb5
494983532ee064521a37d90cbfbef46d0fab37fe82d4d72b3ade3c539db3585b
3a74d108671f717c3bb5954298eb396c861aa902cf7c426cc2cc02ecc15f6dbf
4a926107e99dd4bd6a8b6089f08fc53a33f5fb7d55dab8197121558bfc8df1d8
17fc4a655d72a25ed1acc41276fcdd22f5c3662c87b61bca48195345d45f5a3a
325b3a51f4e5adb0fad02fe050d43d6bfd3b0f6f8bcec24eeccc93df4e2a61da
7f3616ce409ef5a709321b230541236c0654848b943f7f08e538d8f9606290c5
1e124737d0d1a51f8edfa2452e39db0da28068fa0a8ba1de97d8a5a8fceac5d2
a77a3ff17a868e64fa45f3543a43a7a35b7c2a8b63a83a9f3ab25ade74252c81
c604b47608caaef2101a1465efdbd70519ceef08d06a7527934a5b612a0af65c
78e5c09e43ae6c8f0ce17e16c26a50e64a5ec6c71f942c3c3fd78c3087ea6dd5
8ee562188ed70c78e997215c4c00d9a1f97360dcee5ea430cf6830405c69d40f
d1b440764c3a50c5e69369d459e2ec1be1bded24096d6c33fe09af12b74e0b47
1c43832720ff7355b5edc8d95e112395abc18c810840de5c2b768a1756b9a981
ddcda3eaf8c04d3eccde0a86e3a95642377d9881849599c8150a9751ee129a93
99b4ea64591e975b5207418812e8b178f1d139fec32d1042d86f69563ca182ae
4031a32ad3f54f38aac8748839404e3ac9da1c2c46ecfe80c59ed31d5a2dd3ff
9e9c3133951e1af4c71aa3f0583102a78420aec89c6b5ba270b5695b554d5578
3e1756b6ebd88994d14cd46bd93bb83041f2da4e33df22a21c27fcd158dd70a8
5050f78682cf02e180005fa305751bf65dc12b76e1b0d15178d553a1ab8aae25
eef38f7bbaf2f6d3ec282931eeb0032951e44db39469cbf532ae8883c887217f
b5c619719efee4a36e2b5008f6ce2cb4251faa9308f59502909933e14836f36f
d4a28ac291cd5e6649800b1babd39ec3e7dd808da15b608b16ac15e4548cd256
ccadf76ba443e1ee2ce80db7a895dae99b0a7670736b78eb21cd75788b97e278
820b33c1c4675fe59f8bc73328da8718bddcec6fd3b7ceeb171ff1994322dcb3
9f2d4fb392830db601a650ec0a86860a99647150d65f2a3f58d3ca5f86c667bf
9ba58f2ad59b02905f39ab52e10c967555f4e9d4efde5832d4fed9d9acbdba06
e4ee165edd2accef0b75e7ac373be81bac94be182d9184477cee7ba72a9eefb0
34258d81a65b8e8d82992c359c2c864208f9cbe775b6d8503bff73639a4f38de
5175475d43dad7033fc3d5ff29bf2ef4b6b7c7c78aa5772494e9e0b076a83b88
965dac8a258b3f1fa95408f7bb1e4778a4935b0c5259f4b4cadc261a2202b9b0
28fa09ca2dfa0e35fa939b1e404b38d247b921fbae83d12e84a75a3fe2d506d9
549b205729fda9ac5b518e4fd14e482cdf53330195cac9aa5abd7a5960e6bd94
bb71fa5d9de5b7f22e9a61846a9712039307d82e410c283ec4c5646eb1722dfc
cf8fd4617b462f10014b56d058526afe5a21c5d27437e6e7bd2d3972d6a80f5f
5721566ae1bb2aab7bcd10ab5d6461d4828c0665e778694bfc41f7dcda7ec46b
1ae16e71b6fc08b3eb7bd3db4f356300e33a8eb4093587e7c553109774378541
64b19a30823f1ceca9790f91d663569da7e3559f56c91af6d52fe3cb12b42685
3a42e931b4f4504e7459f5e976cbb6b23d2660d98751a2307fca4da5bf600579
e423caf98330b9655476c5c6181b5390caccdb73c6c1260788d7d854ce2135d3
21542c795149a5014c762ab5b0d80758228d520fbb29d5da3575bac319efcc20
ff23be5a0183b9ab0f508e0454363ccb4d4ea787e234f47f506a59a53b823900
f5b54399bde33a78e26ed608a541641cbbd455d6f615ebadaf51a1d4a070c49b
d2fec0d257a63098d1815c19cfda9485898671b05cbd04d405d7aea37bab0da6
81ab31f6e804bb4000e82d8e5c0f1a523a06017b5c70702080b3d37e69a0cddc
1f97345a398a8debe697c52c1c9470e8e372b27358f03b97c362936961075c42
a240485bcc277196ff5d9dc83b0ca3682bdb28eea348de9675d076a0cda90252
ed18d1fdb2e0f71bf08a272e80d8954e3cbb67e47656f3c37d94f3368f9d5013
4dce9708ecdd61c82621d97eb88476a4c13212efa136e1cf2db0f7df7e0c4271
fa7d3fdf5448c1fde3d875b1897207e129b04e3338d8e20eb050b65d6db1a383
31795653987c7dc1a1968006b3c8068f6e1089b0f2311d9d53c08cb73d2d3617
f1ee7a8fe539071cd78361d40f1e547ee25d0a5e10a72e040ff56d9f20bc297a
4310b19b43b5cd4c841ded13a62c621cf3eea4391e516b08bb70a4ea3e008a9a
22a1101556894ea99607cc9e447bf6e54705a906e476245e3f599fd7ffc24484
6fbaa53965beac50102a130257e3703ceddc4621744941beace41d172ab8d559
192fe9dcf242ff01da8e51c216f04d32fe4a91170dbce22e5e40ecfa7f5e0759
c4e2bef212d4fbc5c250808f92318165db9f3bb0936be28b2517f43f213a3010
be7902e644099d01405198a7f3a7c651494012c26e9729aa63f103a58adb28ba
4460fb3b0c3419ccc67de5b81709337e3990bd0f3753e66cbed467b468e58aff
9009a1ff5f9e53b2041dd58a47b377d73e0e9dc59d257b49c2ce0f4fe9e15471
90b31da2151bbf9c89766074afec716c4cd05bfbae3d30bac1ccf14a0eb1db62
b971ef91795039963a35e59ab7d653d7f0568760c3a0e2c95dccaf5052fd3750
dbb7ca463660d3bf1fc2c079551b6380dc8d238be1a34cd2426cae4b74382bb9
0acf841d128b347c85ceb8fa34dd2dcdb3177b1c4cb9fa2a97666ba0912dd16b
bebd2c45d83ba97ebafc3fd463385d3a75d3818bae33bf71e3430594f5f5abbc"