238 lines
9.3 KiB
Bash
238 lines
9.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=91.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="353dd29fece91f4f455314d5c53586214df0ff644618239e8ca97f9d5769c1e6
|
|
17c31a493019c0472183df215a197c001e76a085f696a29d644040d4bb4615af
|
|
42a76176cff1d262948e86704ce162880acecb0d5cc7b6391424a6049ad90ac6
|
|
ef975199eba7257696368dfdfbadd8dd5f57fa47ffbf647fca3562283d91590e
|
|
7e556855822a6a8b7124c1258f420abe65def9219c9a56504c661462df2e97ac
|
|
4cb21bc10cad54bca9c5d384268c601f79c23e5f71addfdf1244b8f9b1e09354
|
|
4ecf37a49a71498d56e464198783e22a59bd97a8442ee101fa5b68544167e932
|
|
3d407df39ead090f6f074a93bf6b11451a891af2e8b44554392dd5f879fe8e98
|
|
9b2947e2f4cdf806a5d80b6d10625817fc079225509065ebc5ae0115f5307eed
|
|
15088ced6ef218412fed8b88803b4f06eb64ed2eb14c5f885c0654e8f770f0c1
|
|
ed870ed230cae2f1549f593b90ae6afcda0ab6cd0ed8ac47e442392f48dba95d
|
|
ff036496fc99f4d4fb4c904736ae681bd73eb34a9f8eff06bdffbe74209494b4
|
|
cb34895b84569683cc91b2f1b7f57eb4930d7de506df85fecae60029f41dd14c
|
|
185562f67c05a890bd244d57d55e49d809aac3a63a8ca285fcda9f6df7d46624
|
|
0e79aca97c2dd8dd16067777ba21aa3d72a6484adb1bdb40bc7e334352d59fbe
|
|
5ab0c9a4342ddb431b25ccfaea3173b44ed42dbd1fc08d450c5eda626fbe9a99
|
|
26a4c9bca70916fee5a98116026e229817acb5b0c931f87a8a021199afa36757
|
|
adc6557eed370f88b52d181e044ec92544dce9332e219c5f49031526cdb31165
|
|
e760a9bbc874094d531ac831a224e19bfac28caa40188e690547bf931904f3d5
|
|
0f297974eaf9e1517b9dea0e4408c4f477c3d5b6afa4ee1a27b5829df085b9df
|
|
d64d04e2205ed1c249a4ab01a0563d06abb4eca1fda53ec6ac3307770e80f9a7
|
|
534d8b63f05351892ff37fec15e7bfad02f85def032255d5eebe9b084e53a2f0
|
|
22ec607d4283e658d51262d898dcbc73ecaedc4edad0224f79072111ddd27b4a
|
|
0c168b6627d8845f6ba706849eeaa62d82cb82d0c69512e4dd3b439e7185087c
|
|
88bcc1d57fa04645355c628119448c2d93e3654fe0dcedd5f5c6129c4af7364d
|
|
299fcdfcff3dc733538e501b0f2be9a1788060137f9aa70ac6659c0df6ea0c2c
|
|
92b78450685b1b5c73a9b93eb1587793896ad3d031bf4af42e73110184c2fb69
|
|
89b5943cdd988fd062f6d5957541abf994d3b218fbf87ed266d9f2c9c437503e
|
|
127fe410aa02ceb639dfe8011741313df3ae82a5d455d22bc515eec604b81159
|
|
be46a7b341653a2f59554262bb71d87bfb5d5f7b84f6da305877157777087a90
|
|
c2c76ea7579db6ba9d2884754deb118298956362182401724d277956e6be11bc
|
|
d5461153c1be0db6516b9f34baa91b69f22756bac650a271861d0a1c646bc3d8
|
|
5cb0c69a5c6c54d80639c7588061f9710e17bbec1ce4fca1b5dc05def67b0e7b
|
|
635fd90bd15a765f6cbc38808b1ad130e0bb54693b07cd97adf14e3c1636ad72
|
|
76d6b25d9dda629be3194124e52f5a2ae0619538c008a740c4c5037dcc8ad349
|
|
9f48953593519fc429ee3d151d734b20e3e0146ca070b245991cd888d6721565
|
|
0dfc1334b47fd26b36f6b7680cd08941ff6cefbefe115e6eeab0ae640e554416
|
|
8b33655d2957d801c41ccfaeb2267b2b03bf53b3acf8fe7d17fa8aeb9d638fb9
|
|
f47dde0da2e89009c3720fc4cd613ba972cdb176cf1c4c51a69ac91560a219ff
|
|
2ce6fe1a2ab03ebc505457c58194024dd030769ac3911e84d706dcd5c6cc9e91
|
|
c3d3b0f9203698fe687c48dde5adf265e3fae7d6933090cb931a6b4c91cf386b
|
|
0a9b0e6ece0c0269a297ade146254c4234f6da1f35fad5b526c0e21f0182e0a1
|
|
02f7d9f2b6903a0086c94c61d7607a7b2ee2f24e5a862eb39da647322ff986d5
|
|
c22d4a74423ee45e45023c62e7f841036fc90b825978b664a306222f4ed52435
|
|
9423604d2e11262e6130f7cb49959147ae5f1bf80d4e5c8ab488a3a2583d159b
|
|
363f34190368a76188dbafcfd1bf01357eab8d7be69818a858d721e6551e96dd
|
|
bf87d8ae012cd4c548c9ac7ef0ea42a6ad34f9a6116417f3bd2c871c00b72b18
|
|
4fbf9161315864e1fb429d6bccb6355245e5e88d1ae9ba993a907ed81300e8de
|
|
b0eac9bd7858dd656fb409c238037e171aae74d1fec5f191d32aa29079633b61
|
|
9ae744fb4abf0bb3f61947c7c2295499715e71792bf7d1c4be5f4dcf04f7e534
|
|
f54aec41d6995206ebde480d76b5132c06cf9d351cc55301af7632d9a84aecef
|
|
c09ccc3aa33517d40e75d7a3438c136b882f27a95aa9511950fd68549872d16a
|
|
51ceb7379bc0866388009af25d5fc4e30802940fdc698a16d1198dc05ef68a7c
|
|
d67bd91c11aa2e4053905cac429fbb2338818b00fe0a4bf545cf5a863616940a
|
|
54428684fb49a28222e828a6fb0f96a0ae6e0a368965461c12208ed153dc530f
|
|
73db5c5d864ef415b1edc57fdd1387bd064fafc2e1dba758effa5112077936d4
|
|
9d5bbce7b7beb5ee7cc38d7c5e369d91753cd2b1542a23be31a36386660e10d4
|
|
ca771f88130ca2723eeffcd55166d3bc31cfae9165e57f7a7992a18a33eb4684
|
|
5355fee42235573d7d5a54d416ea77d8dfef2f38b2244665724f100d0893965c
|
|
6afd61b17cb437b1b919890eb27b3c9d5c70a741b953cdb9be5be212a0057d26
|
|
8da37148e3f1e926c1d0a9808d7a86687fc8e3dadf3254e7f9d75b26dd89853b
|
|
c6a8d6b1a1406dca3d094fdeb41719f7584610443d3420adb9db89ca6a8a4e1a
|
|
c82fe0ae8db1d439c2df7ebdc01bb9054da1d840f246cf43b006717cb00ed042
|
|
92849280c1e7660a4f908e46097d9ab0c4f7365c6ad324032731e4d544ee41e2
|
|
e4d627bfebe744d80fcc806c3d2a62de2c20a1ed51ee73ba9e10192c750ab95a
|
|
197625e12d3593474e620e7d4e649d621cdd100af7f1a5f4e6e2315927344dd9
|
|
b92aaa5199b5f16b4c0485721afdfd5a2d3fb6a4ac478108e47f37792d841eda
|
|
322d9640fda1330eecc269fc93bdbb780de7b4bbd78b6f06c3d1a12bfbf9ae46
|
|
c4ee0243743f292d7f8509dcf5a56c7c63968dba2e06324a14ff82dbc4b2b355
|
|
343fb9afd65bd3315edefc4c7d94cb6532703ed3066075e298e7e923a72f794d
|
|
8a0d64ff9e4fda3eb10532dd74b28088dc94e453795489a74f779fa06c46fcb1
|
|
9496237b781fe905e74b5b5d2a105a176df0c70dd8b766949cea906e558ce4f7
|
|
2fe5195e6f2f2688d74f08131d3ac7d4e07bf15bf259ffb5eb0eee0827dec616
|
|
32be71785f829b2ee12bc18e4e5b91cc9d63c6208a54064f4c91519f0bf44d8f
|
|
892eaee3d96bfae1bfb80fd168fa52f790a626460673762387c735d517e6969f
|
|
5085ced357447c5d9c3b3620607512990848962b2be07cd9ba30b888249a15f4
|
|
5e0cfca869c91ced73de14941e17e484cd861ceb8f1915216bb1436c040b4b4b
|
|
25f462c1114328f1c27af2d5307698d2067b5961b358a59806ad73890a99d1c3
|
|
4edefae806f5f9c0a7756c6163b0f22d5bb55051f16fd11f5986a2496e1c7099
|
|
b4db8fe0a45b7c4a0a0e214833aa97806da09431d17316ca6d1b50a8ddb41291
|
|
a152c663d92d56dbca04b98df4f86251d9028c29592594d0b7e96284cb8028b6
|
|
494597287c037899fb9cc8e9a4020273b2b4fd4b5a3ec541126d18640116f726
|
|
b5dc6ce6ad473c5c2e9c707a23e6736261e1af494708d057281f6f30bb3f019e
|
|
4182b8865bd5081fe0ff2b2f1a60b1e7e2ec7e835bae3ef850a51476419d1618
|
|
fda7c820f4c52b08cee89709347f698720d7f0e4ebeffefe6df9b30c80d982aa
|
|
a02df3beda2c114e8d9056f89bf9e6ffb03a8f963a0b46c158aad41b05f53c00
|
|
49467a25795c2f35c37ba250b0be3d483c6fb58cf2160f1891e2e59ad4b42823
|
|
70bcb1e054dd30a78517c9628f3b2ce739d5d4161faf67da3bef009fc7cc058b
|
|
232836ed62b23fc2c0d28bd7df53b4b050068b8e7d6f0d43d5ee31570fbbd88d
|
|
4b620f22c23ca1f6b8017f790c1aa3ec508de91b1a543a8e4de9b884669b8686
|
|
548ed5c7d49365322c56f647da717059c26eb7418866569a562123a85006e0e8
|
|
1efe7f211b58675fcf2c4fbc4736f817b15230050bd85e81ac523c45de0a717d
|
|
d93bbed71c151e016a6958fd0b886761cd44c7921e11d123d30a5d8b9730f967
|
|
9035f32d76cedd4cb1d6f48c3b58cb1ccf19b47e77574fb4f9d4d97f77926bd3
|
|
73ffcaeefcf78057e9eb06da45d9c2b961133e1f8497ac8f092d7e9a7afe67f4
|
|
93c61e97e8fdf759c63c5b689d7fd772550968973a2da28f2db019284c964068"
|