void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=117.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
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="64c47192eea4c31d0e57dcbde62f896e5d419d72bd5591bdd94ad5ebee9dd322
f380f222303e47004eefc0d372ade5a8a7db2548ebe9649497d9c9de06497fcf
8283a7529ae0f7b4de25b3944dd710ca23ac90877a13d2c2a9a3e223c9f73de3
508f6eb1fbb462d2b1ceea59d53465e089208bc3d0a755a27963e2a1617e7a56
7aa0353bd464deed8781e01595e54be39fed87b07d80b1ff5c64405c10efa771
8b3d89b3236577d7215ade532714700cc9a14b7bef51b86d31d744e625141622
dd81a6d50ce593d5abed231845dfba80e64641329dcfcc32c26479ef1b629373
a3cc57784bdb794c44978c7b83a737a125b3e855ef69c709d6a84f3618f5d4f0
9df479ae24bddd87b7a0ce3c0cc5baaf0e1df8046a68e84dea930a9dc360f3e4
d1fd9361b0ac0e1c15aa78ba1cdc5b6958933c575eba0eeda96e2c0faec7412d
2ce7d3f5ca0015568c5710a2fb33ad50aac0f2d5fff62080626b33e5be50df5c
5de3abed655d93810c1846007a9b261bbbc7ffe350246c47544a5966ecdda8cb
768b02dbe2f6849679c826f421357c425845cc6d345c390abbbb19605476b4ea
c2f74d3f9d44a36894e65c2e8f399aa44220bb399ba4f32c1a92e3f10a3a70f4
2384481886c64ef366aa5d65899cd0832b235e2ed7d3527a9c5b4b76f2a34287
7aaef595b6798f04cf82cbcad56c877ad231d23553931cb9b65fd32aaaecde69
142c08f41900ef8075a4243f3528dde64b31207d32fb5393a5a7158ab7a0374a
374f007db2883bbb75054ee6694d707261a58bb3cb6c6663ee1975734eb5cc60
984f5e5d55c57e81002aba9355f08ac2b55f1c270dc4f674cd035222a0b24ddd
f257d32d71094caff9252bf86a2394b36406c5f1bae9e28eb6cc8d7a16e75471
e141cce7a226c7b3bc11f23b2de924f4a467cbd7ab71d6400e8d5dd2cd88f260
3e7ed04a128249d58e862481385f20395f1b63a93942a952891f671c92b8a0f9
e3f910fa0eda590df6b5f31b3452896638533e97c5f5cd20e4738dcce91eca36
f6cbd7bf1a891db6dde76640729b47d08f87ae9a52340c73a82c5a58daa52031
a849ab64e6f707454ea729b9a56edbffca9fcbd87331bf28808b61539866fd2f
7360eda6bf5cba886d2af093b7eb88303110e7620e34971914cf74cf4f0815cb
8b0c1715dab4d3d6eb5a7851c8759ee49a1fec26c62ab2356385e48aad717832
b9e89d26388285e5039a68db2e3ff4628268d2617de362d8f0356c7971fc5e04
2eed639cef455c160c98113d94680473006870ed3a917d8c0450d4278ccd4895
610d33867b9e9878e44aa7359fba78cb9c90687294ec23fdd2b2dfd8f92c19a5
4ee67bc5d510ed401b5e402cbc8362566092c86e1507cbd4ab4a4939b0bf482b
d211378b142409709f314b9fcbdc8492c5a98730d870e98539907a4384ebb758
4de54fa74ca03fc03620f0bfd4e8d9d111553431b38aff225ae223e42616c07c
6a3383cbc15a3575e038a245c085e44781b5dbbaeabf86536a336161efec1f05
b4434a9a93697f1f1a72b93c017df00fc6e9da9141e438db8ad23a9dc9a7c050
e89a1962b6f5fe4f6508a31fe40eda3b2cf67d06ae103b89eca1b36a21c44eea
56ed79f66699df5a15982b323857e2bc2e88c4bf3c6d0d9fa1e1b3ff5448f482
c655d8b53cf8766832d6bc0a6412695df4aaa055b5615fafa0e84dac93d516e1
f8021169bc1f7e1840cb367e9b287a1d2e1bd91d3c567787c6828376f5ea5fee
58c316331339465eac0c1efcfa1a7e9b2044acbf1ffeda41e2716c3adb35e92c
3652ec39b34152368911b755ada4769086e12a22f3f0206f69d56e8db9dbec58
ad176c655ff1a02aec6f02733338250ed35ed9652a6662871b764deb241064eb
6881750feb372b5ddfd094451a10be5ce9d5de1cc9955777fe8354ea6386cd5c
81af37dc12b664e48149dac23da492a296b222068e4987fd7a5a229d91389360
e8ed89fb1a1722f41349fcec9201eec1f69fa0d46c1144f46332f2cf7836ac4b
1c62edc57a6b423dbaad200cae903302bc091db9787f747a83d2ece1009205da
4d6bd72467436cfdb3fa8570bc053a0e37e8bbd28f1b8636ee6958f22460103d
07194a86c60db0e8dc1dce300a803e13d690de849b7609fd6b0b2abc27777cf7
08960b15a6bbb1091b5ad767200f338bb51b65ea0dec94838fde36121ae36665
90de2be94175c26caf917eeee576aa47db173d33f0b62b56084a46c6ccd501dc
5e4ca7cd817602562f7a36d79b0b942750c2576fb6722186d95f8a497d66c3a0
b41345ff43faddc5821173d857b469b36f2eb3d4d079332daa0b7aebf76c69d5
546e0b5dab3f0c0bcebc36670e2c3064032ec143e849e39ffa480addeb41adac
9e16bf75a33498201d82fabbde88fc4ba3a65a6d006877c9c9772011c7126c69
135679c75e6b0577ca5988a0d581a93571a70a0d7950c9bb2a4684dbcc8d38e8
13e7533e887e2cc2a8b1cbac2403818f440ab219192e73e0c62e455a596755cd
a2d84f833ee88a2d438a63feb48933da6d21dc5f34bd5481f821fe25b1894d2f
01886225cb24a3f2811d7211d4d1eb717b47046f822dbbd891f5bed39cea7556
d4a5de8ca9a62bfdfc2ce661d9a6742a7d00943605e671bffe9ef6505bb1844c
1ec33bf739c6b70e40282bb71cad39e7797a44b9939e1c5438418901b9b2aeb1
8e49398a9722036b39387c08e8c6fe87f43a5876bd376b89ba356ac420a9292f
81c37b63e5d3935977f90ab5beb49d9c010b7187b9eeef2b3335de265eb57b10
2abb4dbd936bb11135e867df95cb9f534c900c67ba822801b9aa65a418c3972c
5cc5c08468f41e8df70af9beb407b7ffa8a7fe913f3654d5e7a156d777430018
782a9ca5b55ecc1e09f1babb098ebac58ab17dc975ea69ca394ca05df1d02154
40819ca92bff8a3869df259b9f47cc05d2ccc3b6ba5e43aa1c605e349c9deff9
0e3feec2c38454cf96e50df91f060b14f07c1a1e007a2d2f19a435b237d7f841
624755ade84e687aca5b80188195ae1761f982409be2fe403c1eb149ec7b8b91
d4a78c2d920d8a19127d7ac952a985b32f4b4524b53e1e01d801810ee45a1f56
cbede623a1ec5a76b8b6afd9cd6d11688bdc952893816a968e8f56d2a783388b
f881219474b1eb539346325c653a68bd170f9af3fd12c844dec98931b1a9e3dd
d16bcadaed9ef2214129deda0179c7b20839ecd08b0da1a66dc03708d24fd24d
4731a2cb68b92c7e61f67a45a430a77a7921fe01473ff8a3d4ab41c195c4536b
25e2f579724168964554ddfdfbb695a3f2d8ea8d24bab6ca3054deb3b4f1ddea
d6000dbbf2ba02d22762464cb7858b276d47e69ce344fc7c92360ac42802ceaa
f4adf910145c154f5cf50f2738f16dbe803676b5bc3e33e9fa912dbe2f46b7fe
5f5b854e9952e05761d323cb55e6391554586c3b6aaac1af33b42d68ddf99430
05cde338c3616bd4cdd6e8c3606a77dacc8b84b0c873594c7aa9d716978086a0
dbe1c73bf0f235e573043b5738691e53f86ce33219669fa7d9a6930094b4565c
c09c89c659d376f20823c08dd226b8e3df5df8e3dd939086688d0974522c6d86
d231bd4b84c12b1d84f55cf6bc968efcaa7022c347eff35f2e329f0c26665135
2e38c8db3e18ed11b0a6f0b918746a1a6783e53f61ab12e5dbc062d8292dc64d
2c30c76913acda89876261bf0a9e2259aecee9f9168641c0f5ab14b962a636d6
8086eab0dc340f16207a8e58e35ba6051697369f8ec0c562f628c674be82684d
6ab86262140c7437533edd81cfacc73a1c93c01f43698314ca6155619082aa22
c978db2748ded7cb5538fbd8c053acb509ccb5ab0a77ee06fc4b7cb6307e7354
74c56f567641ca6c655935dc7bf4c7f80e281d960effbc412a1d700310ebba49
2cb0e1292a76b0557eebbed6606ad2b045e0b16bf16ae7863306e8e4f066e4b9
bd1a3ce2a1d9ba125071b7f12ccabfcc5128880d4382736771b0970a1f565c05
089c788adb0730f5d7a78ba2a5ed8dbe079b1cc360d6d107df519f8a1623b084
74806009bef217390b1ecb174a246e12ec31acfa741b72027ce1a9ead88880c7
ceacaf769bf5734a8d127bfb30b845c2b19521eb4664b15e25708e29085a43cb
65e896be75e84826220dc05d3a5a30f58949993eeea25ef25657162c1cec8d3f
bf67be25ba9df792887acf935d624a6112ef476755366564e2813e60907c2bb3
dc6753545bf1d899eba9a7b020bec10627190959bdd775269ccc0724913f67ee
0d0ccbff8863d8ede72056eff7a4d1a244cb5b063e058826e246ae5b4561d36c"