239 lines
9.3 KiB
Bash
239 lines
9.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=100.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="05fc947ff479288182364d39a343fb33276f37266be02c17c6c2adb15c9209c4
|
|
8ffad9c79427474069ab2b5dc4cf772947a34b7988d68adb576e79b8a23ab67a
|
|
523277c631901519063d41b63333aac3ac874b3e6a453566c0c1ea3fbb7a90aa
|
|
deb96111e07746d8ddc99e961dfc1e545cc9fd50e4eaade71fa40f5f575f9ac4
|
|
dd1672b8e38ac2a29fe3be20b11a73c7935dae71ef2624fe92e755763a639d7c
|
|
5e10c7080c772a441d3e3116cc964e162d6a5a2ced953bf5a6c59c303fdbcdf0
|
|
edcb679e72e4ffd3b8fddcf231bcb07a5c0d44b2e1c32982b752f40cafaa625f
|
|
c4670cc9456a9c170b71b85a1a2486c10d9046f3fec7fd807555a32335d2fa9e
|
|
57dcb0e6af8b0573a1188cbc4509e4a30fd1d027b686d73a6b793f6b21e86df2
|
|
5c385dede7eaa4e248a15f918c7f64e9125899ef742817bb39571ae0b37b34c4
|
|
ff15f4844392d0cb50527bdf48d4873f55ba08d8500306ec9ca83405a704fbdc
|
|
eeefc55c1f80988ebf4c759e4f19092fae79b6335f450d24616c3b3db4985170
|
|
ccb517a28a85c6aca804ae46bfeba7a0a3fa577111328ccb7bbfda2cb67cb055
|
|
bb657cc31e3a2eaca1aa19df8532baa4c05d86c4eedb2dad41e1c85a977193fe
|
|
caea7efda0efd010947fef5260726cd1412d222faccab12a7017c6053e355fff
|
|
1b2667186c51e750fdaf05efcf724a932d4b3e10f839396b36bf35c7b8fb58c9
|
|
e079ce25240d5d286af227c19175446328174082e7f24db3da3366933b213327
|
|
b534df3b5798fc73ec0989c7e2acadec5d96dc5c29f599ca34b6e3fc2d063ebe
|
|
3b232b2de0b99a6d1cb4f0afa203edfb62896065de9aaf351860cca222f22327
|
|
520b578228ab2efb7880477276c2b9db430a77efacf590c75bd16cefb5a96d67
|
|
10ef072059fb1ed982d7e5a4e90f741f99213d15b94eeeb398d09d7f651aff3d
|
|
9b882019ca6e4de58c8f229b344888814424b079e939dd362ea77cf50c9ed059
|
|
f389a84de1dd7ff8375c66694168a1479697f9ce64e6d4c2824a585076b5aee0
|
|
f4f3eedcbe27ee556a8e58cd0d07c9c530b0a83b68ada75e74a1d91977333b89
|
|
4d67fca1b1f12f4e5c8ac9e5f70140bda20e8c608ee77df4eb4dc97f9f984eaa
|
|
b73da525fa7ed072e2f2ef2d68eeba037de126942d1190d875d359de77f7006c
|
|
4d2253d1d31a6740b24046c066a8342d240599a096585e848e7c065d0912d80e
|
|
309eed3a6b60de8b338ae464d29db444320f55d31adf0a8b00885d0cca43ad93
|
|
c92d925cd81c692f7180cc71fae28d77b3ff7466e365169d92e4288d40249a08
|
|
50b1fbc60bea33b12fc5d3fa676503c8417708db0451b9afaff604892612a23b
|
|
a42141c5c6c00be51e947f9a49ede93e2283050487200e28e71901480b845ff7
|
|
fa552045ce9cd1b1ca47ef0a0aab50d1095ec9b2f46d3103efd957cdeeccb751
|
|
3974ecc24feab6d577d23bd27427136cb0389104011ff796d68d02a69d71789f
|
|
ca5eb3b04b1c4b32aeefbda17949a358257fe389d48dab1c886b9cec884fe0f9
|
|
846ad932823fd5764540e72d2e8854f87963f8caf4685eb60012bfb5923a75fd
|
|
f5a05fb9a4607f1589096e13b47f985d26253cb5bb5da1cb918865e9654e550e
|
|
6717b235fa616b1b9d6684ef50863926d7ee3571811c215d226518916ad3e95f
|
|
a767439949302a6eb682c58c72c35920fb143deaac708ae72bad47bb42430945
|
|
985cd6fb46031859fb238c8b8ca3ae64f8583bab09e6719704c427d2589525c1
|
|
7c6b502db9cfa306bc214a3d17c5931b071072ab4326c6ce8bd7498ae126282a
|
|
e4d00cf895acdac207b1ed4f62280927850d3621ae6ed959bc0dd4adf377bfd7
|
|
cc11c9b95bfb4e3ce0782c9f2c7e4c7fd92a3b0cc3f6f7bd1390921df1b59ac0
|
|
2951c4030c25c59407be23d4c8b203f68c302dee756b895a3ef1c21df1830146
|
|
e659f2a38763062004fe34968fcdb805b00bf440e4b576ee7028c12a7d8493a4
|
|
ed29465a92aeb657fa04c226fe3fac1edbe73f69f5001d18b379b21ceaf7f98f
|
|
b3c38d2d016017b6449bf73f55f63d67e0a9ebf8ba6df059e7d378f953b2a9f2
|
|
516d885123c351b24ed093ee1ac194d7297530852ef2bdc23b20903790d060a5
|
|
2744519881bda9cd1fc210629a4366886b55e840877e7fbcc11211c281d4668d
|
|
dff4045c796f34b4d31a55fb59aecae4b8dce24a12ed552d146707e9cc51187c
|
|
3862311cc49c8e6d8e8f0f2f03303a0a137654f5cc6511f7f8931a50215f838c
|
|
d0cb5d6b31eaa479a903fcef3a9f014ba8939c446ef7a44e8d40b0a6760a17b6
|
|
7701f6381976c0f1c15c80f3661c6ef20a9953d5cefd64710da7814e875deccd
|
|
9757690f40ea70ec1ed6ca4791cf7fafa4d7f9f58a4b1683cfe0be229c3c656a
|
|
2d076430aea914ed0fe8c6cf3c9f61a2f7b5b6fefb87fa0631f3b1fca2274eec
|
|
a32477149c8bdf30590b7dfe931dba18bf9589271d01ffa58d47389dd6ecfe3d
|
|
9da35b91db26edb8b8c48cbbd8b953fd7b7fbd74c2233a004c8a35de4fe473f3
|
|
5bee5ac2905748ba2ba0f0488f2ecfc409112e626b2e1580f21f1a6dfc685d6a
|
|
b362ca18cb856bec6aedd2a05b3dfcdfdc78ecdee19866f8aab6047c1603ae88
|
|
7a044e5236ba024e80065a8a159dc18c61fd938d39902e4f626615f927038783
|
|
26e198549ddf1df25f22801c74cba3c18440d17f1e9b90d96a83c38498213aba
|
|
2ca078ccb32f81356f58db590a95ba27fda61dc2ce88d939bbb68d5392b4677b
|
|
1b183032cf35b4c3ccc088ba63d83bbde55e1d1a14a0da756957345875a3a695
|
|
1dba115cf55edd6082e3e68366fa5aa679deae0262621f8ef574f6f6f7f3f5f0
|
|
915c75c205383edf6e31325b9717769dad24f6f457a390a80cf9063bd38fb29c
|
|
055866db316ecf278f682a6389f9a42c422c3eda5fa3c5f4223adb18511c5c61
|
|
f7ffd0af9d3f401e6fdb1425c19de890cfcf2077fadefb77aa9514d83701aefc
|
|
9a518360c83589f326252c0096d0a7b766f271f40cf8ae99394cef5a46120306
|
|
2ed7c8a352d064d5813121238e385de73d02c70260a3622b774892c003d4fdcc
|
|
4bce9dd4f8eac65f13f447976c61142aa9e227ebd79ef84e2205abbf383dc096
|
|
1f51826364ba69823a7c56c87523f5aadbf4e577c6d4934bc96021083efe2083
|
|
d5b38929489bb0da1688c9f31d35051f5801a4111d60b49521bd736512a5812b
|
|
31494871d4ee110921cca19eafd2ddc089ab51edb96e67de6d5e75b2293262b0
|
|
11166cc8dcbae00aaf39c58f23f1e357a942cf9fae1873e486aadefdd33bf933
|
|
9ff85ed3a21d63785e7c2475577097bd8a53cf4eaa7122bbf78225078abb7c96
|
|
82102671cd03006743333b73dae07f4cf0702ac96ecccdb86fa7b40e9ea85c74
|
|
8c9096f28cbce9b40d534cddab6ce9c3dd1003120b7201490d936743763af12d
|
|
c11653e2d1f845360c176a698f77b196230b7ad108f6e86033ba24b8fe7f8e1f
|
|
f728c9850b153bcd15d3fde9f134177d58db1cacd4ef42a9e9baccf5981c5195
|
|
2683e367a49ca9e3c9c278970a5b8a56f5718d948dc73c1fc26c5340cac4d005
|
|
96b0327b8766a6e3e40097cdcef6cdbb4498df256c9a0a43cb20bc7543fdf9fa
|
|
9936f3f4a9a1c86ae0123c714f71b8652e7217f58c3e529d6f3e4737a930c044
|
|
5e6d54c42b0fc394142449727aea373cef5dec109c857d3f7de2576abc55394d
|
|
7092c55e961b30bc42941730ed4ee831445c5d8682e51af8af1a134aa0a6be1b
|
|
670723fe5f0d50cc59e1d4af1c8d3176ef6d2a4b61c56274a9a805c084bba72c
|
|
a04627bfb97a249b166c625630e4ba5875400e9fd6cd9f54e8d9c94dc43ec7e0
|
|
c7c7bf41ad8a745da097fde5c9e06885f520cd8f2cb4bde06fee8b029ee85888
|
|
485d48e4c86c82c1812f603a7a02ac390134adccdfa25e86a6d0f75643bc5f2a
|
|
55598530db9d7640fc73ee9881fb5c43b2a50b3b075454dc4e59baef93b4f70f
|
|
d4afee4357c8e49ac06d66b24606ed1265b8cb14979125e0e0d326335238779d
|
|
28d511b6de7c0c92730c79523710624427e6cd320225827a49cc217c06e1d612
|
|
5c587ab32b4f5a835992f03ed47f875f962da36ecc48a6b4cd999de6f944e7e1
|
|
949ab674459d323cc04364ab6a8a141d1976d22c08c8705d434276405fada9fb
|
|
1e7a6048da7b760b85301927b9a57ad7da041046df179126cd0126df97029927
|
|
d3af2b83e1349e9db60b8caf47141f3e9ff339651823909f6ee98fdeb7b1134e
|
|
53dd63b3de2a325b278084825883a19de8e7fdc8bc4fff88f24b052a64731094
|
|
d4da572047b11729bc29c3f7f9c9afa68ea308b0f0d03515037c9bac77dfdb37"
|