241 lines
9.3 KiB
Bash
241 lines
9.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=128.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"'
|
|
'skr "Saraiki"'
|
|
'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="9823d9f70f317ed4235eb0738a4cbfadc432b4725233221c61d3569930818f2a
|
|
265fe02a718a66e00c2f0c107b1c7178ec9d6ec81dd6164a53cc7753600d1639
|
|
4c238548929552959271dcdcfa914104965861acabb40a6db708908ac3e21cb4
|
|
7005d61653aa0a740fce3c266e317641276d1864fe91cc7823a1e32f1fdbc237
|
|
ffb6faa874eff68aa80e98246cbff8743d9e0fb082950e8c2134d243a6a0c75c
|
|
3662b586e8d77bbaaf26e8a10903594b12ab812528593924c652d04bcba112c6
|
|
167cdf3fc85751c2489cdc484f670a9a2c1a0f6c680b64f8bcd29ed9597fc240
|
|
2bf704e06f5b176e6c5768e52328fb429c372ed5a42810132600a8d6e701fdff
|
|
4a306daed986327cd6e286ab1a1a9d85d0db033288902dbce280e9030bba1d84
|
|
a6089d247a26d629ef12e26090777c80baa95f7d223ed12957332fa39d3c67a8
|
|
94006aeeace1770df222807cfa3df190c90fa323c8fd136b9cb8983eab8bb7f5
|
|
7987c088bb5555e9a074f9f2dbbbb12336d444dcc6c6c5682b9021ac7165dede
|
|
c7435992cefb23155c888bc7ce34d1efbee511e484f0e38e18771bc99e17d391
|
|
268ba036eb232420a551d6ee300711a716e5d98a7af675ccfe4f557484638b4c
|
|
052caad3e82190c6879898c4b5946f7209019b2e8897746b1e1415c23c482e96
|
|
2db82e532a83c388c08ecdc18537c84f961a1ea467cf23708f58d4b66e4185c2
|
|
ce641349d703402b32f04bb5750d73e8a528abad7c1d0a2ecd101b95aad1642a
|
|
2a902744218c854732af470739ef4dd1d1932a26e179ef4acbc4235c2ef10863
|
|
c6b2fd79e1f5fc4102cc28bcbd7772dbdeb25aa56f5c26e037e068cddd69e43c
|
|
649bf3f8e51de955ee179464dc49b703abbb4c44791913fbf3aa35506f670c58
|
|
8cd3682512479b55ccf55ac7303d04d20a12faf9abb6160524279addcd2cfa53
|
|
1248d554ca603550f8c2ada130567bcc6f3a7013dfc2d9efc12bff7240e1f642
|
|
d424bd2efc26a69dd179d4f6f5a1b4053ff88b9ad36753dba50e33213582bb29
|
|
0ae43b5ec0d5e0099fb5231c50753627d62cc16b47cace3dae2a863500e0a4c5
|
|
eccc8c6aaf657d075f673ed540f0f7c1e3d793a397b48f072abdaa9dbba8311a
|
|
10f4214df852bbb9b343becd19d9db9fdb6299b0cdf9f8a7adec4a8871edf2c5
|
|
11d67042cfab71ec1d965567e41db10d9113c12f69a0a0dc7fb2d3e0cba2680d
|
|
3741dd7afc678af6c0d987d563fdf482ff92e0543c6907e4cff0d1ead578a6a5
|
|
e6df4046232b1e82eb8673e0332eecff464e74337ad304b0620f3c63a0f43ad3
|
|
8b60698ddfd24c9a13d3b28fce4f303e02072fe0ff2f1d011e5d0df68df84f21
|
|
f79a47f3084eaee63e4e062c853c5eb6aadc15c6f9fbb77560ebe17c141166e4
|
|
6f0b4aa984adfa7bac2dfb1823f3046110de962bf1dbc8a4b19eeb887c501106
|
|
f977a1335d8d5211c98c747f744c5259cee6e3493d07d7963b07ecb1b6179c70
|
|
be68bf3877ed78292689bc79216dd04f3807fefaea530e8ae0ee91a47c48bd8a
|
|
4dc079085cd9433e77168bfd4751c901c1ab2ba73c699aca3237f821e1610949
|
|
5fdd1540601d74c2225863f10fd9df6bc272c902d721fc26692af038567693d4
|
|
b8126b54f2162f594721f6868e06fdccc6410bbb99d11df6b1fec167bb46360a
|
|
e932a7a7505dee3da0bcbadbbea41ffae0d762c02920a60b787704aa33fd9db8
|
|
6b5b04965c23c68ce1e62c356c2c3f87d1b19131c498898959ef7b7fdba3a49d
|
|
6e786c965003d74b166d1c90fba761d111a943a5f627e1571111b41a387fd21e
|
|
3f853c7d9b45f26fd744785e5e1a445b9b58bcce00dc455fefced0f9fd65081d
|
|
bfd7a6843ebe25c39b87c66415ea850d38a6071740c6918697664b0c774732b6
|
|
098cd620fd0808c58bd07ae6947d063a2a4896668b9514897928084cdec9efb8
|
|
b1cd7e94142cca2f64dac57ef0eb2e05db9f0154c327f7e2b8b4d04e651070fb
|
|
ad5af9e941d6a3bdb4d3c94d99b7e4533e800cf93397d82e519829b441c021de
|
|
890cb2e36bf932b605adf22422d55025be53eb8f7e4bc765a7aaf73e71e75a10
|
|
e624d14e8379d1e856d52e0e5658092f8ec0d140b77ead223f7c05b1b673e8ab
|
|
106f6a40382cd00ff9186e3b79cb38fb5a9acd94a96e95efc9e681c83616e809
|
|
86b7707b8efd7e718a6b235d6877a3f32f15df83672b1d89de2842743ad412f0
|
|
92f1b4fab9422d144ae5a5baf231869ec33169d36482dba956decd618b00c59e
|
|
0ee6e67137d0d7bfe8f79678683ce99c8205c87893da4e2e0b0ee2fde3016ec6
|
|
533791c112eff540371ec774b2d6709530fee63fa9e0e6d9ba1771af1f1813ff
|
|
a35254c6ac17d4cc76b8c3c2706133813b5bd07fc1ca5ba946af203ec436ed6f
|
|
696a725280ca0596c25225f219025f529fced1783e1224bf964e83bbc1806eb2
|
|
45808c2ca72a3ccc3c8f121799230e60c268daa173794a28d3c8f23b012853a0
|
|
8714593ff1808855e6bcb2b1a3fce83bb3550d0772932335e0344dc515eb37f8
|
|
68c6fddafebc0ec9ef9e699b890bb3fdf9ef1b410a22707fc5a52cfced525260
|
|
5fed1cd0b348c084f08f4cdae6b73041af8ceb04fcd3a4bc43ad79f2b8fd436c
|
|
4295957c2cf0c46d8ee083749d5724e44252961e5f62dc5a91f1ebca38ab7fcb
|
|
571f0af2a08d3b42ea2ff3b80a06646c0f51e11bb4573d01d31792d7f48f1512
|
|
7fde3ab1389136a2d89a5e8e54506ea3cb3584aaa42913129386cc823e19c3b3
|
|
cffbe6cbb3ab4492754c553c25c2bb5a31df1569479548d2b1b2a358d75e5ccf
|
|
7e077c0b81df9a0dcfc84646bc42c4eda60fb260e826f13dd5b521fadccbb108
|
|
e73c37b105a8864654138bb6ee4d8b1d9cefcbe990cc0f8293a57da1718f27b4
|
|
34af56c10b44f06156c564833cee69beec437b3ad4d5be8048fad99b82b2ac35
|
|
7f67e73ef1bf384617481c7c4e98f2982f65f810ef9a03e5c5d07880c888841e
|
|
2e4e79eabc5f44d5a1e688fd2344cb8666b2e1509a33895580743267fbd75476
|
|
4988f17b01428b6957697ef4cbd43950dbcb57950b483afdf6afd21757ae5fbf
|
|
3bd2717a5e9cc7397b9515a8a44d4f2e75f2d28c01dd39c4b8bffb46883446d3
|
|
7aa5d68b6c027200f19f6861443fe3e063115b22ab84d1fa402eeeb10730b3ea
|
|
2d2c11ad2c313409035684f1fae9e4f526f468a2964e1c825167320185c288ab
|
|
ed24fa41ab0cf62e477bdffa6c11455f624fce22ac384382ecdc2e33bbfbb6ff
|
|
2d7b5860ddec91296c8abd5e232a9e78ef849933897ac63d4218a0ba25d58022
|
|
249ce0b926eb449813f4995560f85171c3cec15612b5f217a21bb8cbb2913e46
|
|
13fe6131d204a67d912fed6673f2009459e0e6a6cb62e01e119abd4adfb4917e
|
|
fec019340841a2b6953d14792ef7a9b1d763f150bb758827ed63833ad0bf2165
|
|
bea4b6a97f5f82e8dc1e82d9396af9fd47c5f9dc3d9c0509e021b54f9652dea1
|
|
fa28052ed8a5a6cf3be2fb909e9376e9512a5af96b684de9a886d674e5e3413a
|
|
c5d7e74df7a90718b11cd6fa7a5941732cc1d9e76cb63dd4e1c2e5d415820df1
|
|
9a74038bfc5fca53c1be44f351548c542f0acb48624f572050b5d0ca1cb24b80
|
|
d8a2934548184769b59c9c0f1e9ff94f23bc8c836ba709093c8c2825836f8991
|
|
2b5103e62db9483599eec7861dab5ca7d6f49ff3dbf490f6c301465bbaed4332
|
|
ffca3ca95f45b950ef9818491e5d07b5e24ba2af92823bab5dee96b74bf3a1b5
|
|
687917f0949b2bc0b8cf3ea20308ad31729661f292f749275890144276a638b4
|
|
7539c87e89e9b92a17950ab2ad843178659b1112cab4a491bb0704ae5d3181ac
|
|
b73300ff91b4f6ed52c65d326490c7ff43f5103ed00db3ff6935eb3cbc35650c
|
|
0bf6120f49d392ad393ccadb715619e485963f703fe5013b0394a1efe483cc75
|
|
5110dbb71a397a7269dbfbeccbd2192b6463416a48f6b97aa60fa24903656ce2
|
|
efd47c47e1c55dade8198e7a6d5d1db96c31c3d4077856709f6f58c30bb59053
|
|
b7b305835d2da199f765a45122af0e00c7b74280c2fdf3dd1ca32be55d35a993
|
|
b7ac321295bb89c7b62ec3f954c8ada6cf2148011427cea3d33b1ee55b0b37f1
|
|
c0f307143fc76c38304c069d4c3991ae4e14fb548f29494f1b97c74c0ad9fa4d
|
|
186c0fe35f6fa04f434146861160ab40024603152592c0bbc15958e2efd7ad5c
|
|
ada37adf9d317952e459034435d2c121a2ae8c63eaff7667a56d4bd434aac1c7
|
|
53f199f19ab010a22de7d455c7ec847d6abdd64dcb0f0d7cdf28b6961bcf1327
|
|
80803ebb4aa08cb6249afab49ba61d43a1d31ed982732c1560c5947f9cd0ef0b
|
|
a8d5dd25cef64aba996e61a889af6cc9e25125f17fd948fd4e974aa8435016ce"
|