void-packages/srcpkgs/firefox-i18n/template
2016-03-20 08:07:02 +01:00

217 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=45.0.1
revision=1
build_style=meta
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.1"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'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"'
'gu-IN "Gujarati"'
'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"'
'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="
bfecbd8c3196bcb72597d9313fee99cbe78995b3760106c16d862dd80c3dce89
d0b4d85f6f3260cbfa27fb83be0cc11d224a37106c7309fd71aaa32b5e20ff03
8fda82ba873fa73787afee2ae0e0f88e183f901dafcbe5866b79d6eaf4ff19a7
d0fa28f972326c9da83bba4f92310ee65d577b9c3a8520a09f7fc2704c64573d
5fc518733fa7bfba6650473f2d54a1cc92fa7493c64ccda77bb9776d4308d78b
76b15d58485d275eb6e04668b75b5d5e91f644d6fa83249fe7ab2d796b88ba6b
18118c91d5d9fd8376b175e01894a377bd945614dcec67e0373838b59512d682
b551ecb81f495c84957d433db8d10dffc7e68cb616bda261fb8396a0787b68a5
64725b3e3974e58580a99b56ddc3674f217e7ffe442cbd93f410ab4807719bf3
44561d72423124f708b7ec13315b961a8e1cb9cd5fdcdcd06ff939e5f5ca456a
26bf95185251b8c45a158cf68326070e7c3d5bf66bdde25dd175794b381a8b6c
a0ff84f7b3b0adc237b6d9e844a96b2d8ea2bad19e136995407eaf59a2cbd45f
7d9489ea2d3d2fafa2e7557e75e7df485861466316152332a4a20311771b1ca9
b4a504b0d68a1076cc62ae7fc2aeee4fbb6a4e7b2e88139209643694e49cf0f0
3b9d430c65e6ef81eeb64690f9ce64e3c040f461ae1e6aa8c7466477c16e6e1a
cb7cac876b49e95f9692390eaf116ccf5a7dd4ef0ee72d597b4e517ebbb85c0b
123e04c49962645a18947efb04b8e5d3fc162cc0c1c184244d0cb2cbf4c8317f
8eb0b4fd6fc146743688e485d0deb56b5ca9baa65fec5e776c2bdba24d157443
3f885c1d6df7a13f0b4b33785bd15f577dec52f11f80cc5a771d504fd6519708
e99fa9424f29bddbe7ef1238feccf97de7585037a199517e102c6f1dca92629d
8e99633fc46f8318302dbb636e0f1811e38c809988638f6bf6a98d5b74aacad7
5c207f5864ea6aba4598657af36ab59009f72a20529e2f69ff6394e09180b474
90872a58ee2b7ced889bf9e05e9350feb78e6b8cda4fc780325a3e868257ffe2
4e94a545ea6a0f4a718527beedecadf92556bde9d55216382fac090c69b9e127
564a1dad93ada231367816841a91190ff140661742b1035633c945284a9032c5
e02710aba78845f6eae241736a4ac279585c10a9c12fa3e231ae6e99ece50618
8733b463d7c609288bc4a80da064a3ecb59af42107ce156db4402df5b47005b8
e5dc30c260897c65c62d3f052a16b33648955cf4ae3edc366080f81478e3912a
e8c611cf2ca4f938dba0a323f16eceb1d5e696d581ccf2f0e89cb86d0258126d
d31c33931ed4bc04e7b30f44a7a500f8934a60938a8c728052fb8fcafe8b1949
9b94a66db6d0da6abece2968459227ba10c323b2515560d5513e150da7389b96
3852ed894d4bbfea425d49e61a1137388b12a66d720e16ee8e7db0809ae6a051
a5e58052b875613255e004565aacd504f5e2c82d4daa607c0b64801fcc761105
adc6a7696eb6be2fd08f93ca8795a54787d499b80f04263bc10599365353c7ee
de6990704adfcce0bdea29a53946afbf8418f57e62ec5b9984454a920e1088bc
962376f41f570c78668a79c35fdf7cff52eba94be8adffc9f1073b36c51dfaf5
9a41d4d2f18a254c9f5416a58be6d4cb1e93028b7d29383876b1e5445ce88e50
26d5ee962a69bc71d87ae1bd0b080b26862700b6fe5f7c423e82f7e28c3a11c8
8fadf559d0bcdd16de233923fbdce93d766898d7247cc560c49d535aa1a63bc9
5c28fe6b8d593b624f754eb48183039e0fd3cbc7f7f42cf018b196f51a6b1ffb
83b991eb76554e4108b659a16646bada15a14c9f805246094f18373ff0e1f866
3d595fd6f2d38df49ab82f7a074e912e2879ec3c0db9e74c6f86662bbac7bff3
e4aaf97614f193a151032c94f30dd69cd00d401400df650c327c75dc1025fd15
bae1c6c55096512357b2d3bca2d124d6e0ded8f2781422eaec53bdd2d1dc9e2c
6249ab1fd56b5c013d908253f140d2285de8c6c8912a5f9d2d4744e8a5e28012
9768e30aaf513296f31e36e772f32fac991980cb7f7a9de95732892aa7dca9a1
a1f443992b4c28614cbde849a7f593d55606ce12d81776f21f758517fdd35a8f
3ac47c61d5483cc9b99eee1ff46590599ac7bad5efe3254d430db0f651d18ea6
8d5bc5510b1c2ab936523b0310cd5998717a0307943085025bf6bffd0e7fd33c
8d1535ff4e8bdb8c9fb64e34034f165face428fed3b42a46f81862f35c5b68ef
97201d6e5bdc11d5e927cc93bf922dfbeb3387c3028cc2a3e3d3d4027e4716a9
46d8c53b3e13248f004d58dfe34af9d3c5ecc63a0cd1b6668aa633310023a629
2893c7deaba5aeccc5747c3eba74f0cc0ad7e5fb443acff7f2577fd3b4d4ec90
a2b71586941b259b0a7b1c850b60a1cc66a6210fcc020a68126f35e70645e8ac
a338518396ba9a06b24b3d87ca3537c1b95286f5d3e2660eb1aa4126eb7c8856
a3b3626d56aadc8006748318f621b91ee408b57612ce4fa4f23c168d57cc1c6a
b72f04d6e22faee33715bdb9138f3ae6efac52ece76e3e12813d63e607a560a1
4abfbec9b42017c3f38faf7ff04733be2a9b97c2e12a7154f26796ba13a42de2
bb4d804e462e8856ac007a69e82b1a049abca8920daf892c68a308b44b7b27aa
b839a63bf3f56324d4c00a90209b2875aa50ba938e15ebc5e4d7bae9cc36fc9a
b366a8b4225256badcf30add565a24e63950bcb8f9bee11d9d3994d0365ba9dc
01cbad2f574040db315695aef0f4f3ac86ba954c229911bc80655fd279436680
9ad57d569a7905717b50049b1c5837220f6432ecdc3b17ee7286a5c28c6eee13
38dc731280948f5a95ae5cebf95481db1300153488558dac7c12b18514317ab5
03381d564b052e6a3a72bab4a397c1bc5d4b3323e70fd84b5562ec7baaff3132
ca2895c07d8a109f17db1b85d28a64d14bf9c54a62a34d6eeafc55c655127ea2
607da2f67887229c414407e61971ffc89d806e8b2ed08feb25bc804558f1dc6d
147bba5fb3f74e9edb1f5c8e16fda20ca077e8a16f98335661afad1ac054aa9d
0e849b4040a73981f2e65091f9246abeb91285cfce55590a3a83ebfc7b67474c
7f9f7923c8a5ddd9ef710e0647771fafc43ef60923ec3a4587eec894dcc1c599
ec8f2f4aa282b77888d3b59d06be4c45a6d2e0fb1fbbd51037f4666044d4cc6e
7fb0fdabf32772687c1712642fa6540909a1e8c6731c0d335e84f2847a7b3dd9
b874e0db65cb8baaca505311af05a4714fef57134faf9bab0c552f79299694c2
63e3c5bbf78c42560377750d7ab9aa005b2af89d5e4c49a1f6be13578d92aede
53947904925157ff490ace369c7f2071d3442335ddd4b0b1538e79b43c4c5b24
c221481f17155cfb414a3b1c09ffb042186205e885939c48793095892e3e9ebf
79d2328023982b88e1a2324cf0e4dbcba129e17bf5e45f7dbcb307a8f5f9690b
12d6ae4147cb6639a61e7bacddc84f54d30ec907a0ac033a8ea8a3acfee37f7c
cf5349e6012556e35bcc206519ad3f407309585a53b8323e2f82c1fe016e35a8
57adc3d7106a145ae529db6c98679b4f6c8ceac1b03fa5810cfbdbef41cca47f
6477212c022fdd92f88b11a92d89b29dd41c421ca7c34b34265384ca41a5c1fd
9859be74b6a0a926be952efff9e46ad0e20341a883ff880658eb9220fb556343
1ae60c460ad2bb1eb7bbd86c6fa463422be01be56ba623dee336671d6e37d9c6
638b3ac560c1e61f410ff8ee53125e58d6a0fe7e7ae9ed6be6ec32080199419a
69dcf93c1e3ea55d248834f653d2d80706a1c91038f745b183f9f670116728e2
b5ed300a15623e1f8207e5b566864f2cba8772ddcec5fff460b8b37e5a9f2cbd
"