238 lines
9.3 KiB
Bash
238 lines
9.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=77.0.1
|
|
revision=1
|
|
build_style=meta
|
|
short_desc="Firefox language packs"
|
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
|
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="df206e729b89deaf65536bd5e909c67e6734fe8c1f8502f9acee6de81e6f554d
|
|
ecd9448d294c0895d456256ddb7cbdc72803e43336ea638fa13e5bb11e919b2f
|
|
b26f4d942659a4b1bdb64dc91fa0b51db17816457579bdbabcdf887f89af782e
|
|
4b6148953929c971cc646aa4fd03994766fc2bec256265ef766327a6fb3c0e51
|
|
19f096eafdd569d40548aa6095979237ab317438d134201caf8a14d64a432cf8
|
|
4a64019a71c94312c741d410a7f25f09ab86a0986552a0b88f83bf2a00fdda18
|
|
21af0b87306ab663f1ccecf793379c8c552abd0ef2d361a92353d6e0834c8590
|
|
a5ea8b3e9a83fa61b3f519877342ecd29b6b0a1bac31530ee2f6514f7e73ad15
|
|
59e711c55eabe4ed39f9f5fb73f2bf81a1ceac48d6186ec88b2a0002bcef0a05
|
|
f3872f0a2e9fb9aa1ce7a90e075741ed343a0367a1e46551a5851a205e592ca9
|
|
c9ec40b2696dcd703551647e50d073872914b46406ce3511b87bd94f92e1604f
|
|
bc434361602892eed802d60d7d8888af44b82aea3ec1a6e6dbd049a17446ae99
|
|
8e84fdd85ea92db0f2e8a85c7c20b51b74f7cf7983839629302d90195778b5b7
|
|
172393e473fa8dec25d90283d18b1d85f33fed3f9fe81769e580f8f6b7d57b21
|
|
0635182d9fd32e8a5bba6a3e81a7bfd0d8ea10876f842c97ecde4c76c778ae27
|
|
e7c6623cd6d32614e98e8123f926b2356262c4e4ae149d8e29010e835972c0c1
|
|
d8a9ca2eacbca5f732d2e908380e3af7561da618c317f941dd43d5d7451a4c13
|
|
9697e340586edd351cc9f6985f1662252b81db393c3a9c8eaf8d15e3f7df164d
|
|
a50e348230f906d46b97a9cc60da86b2997f096c99e8fe5b852371497907d11b
|
|
a4fd9016b7eb3d1e84012c78f8b5d6ddea54edf2e7ed85c34cab09021941f8d9
|
|
69a7e4feeeb794b82b9758c537272719ac975f2798f8a4c0686de13897085017
|
|
b518966e71b0bc470a6a140b84ea9a64c7f801aaa7c1ef7e208a41042b4bba30
|
|
101094af1b958fcde0ef74b331d345c344eae6b2127a15aa5733996202cdcfa4
|
|
5e90e8c33d94e95b951de37688e6c6ec540203a9bf27ad86b8d5fd00aef40c41
|
|
f8e3d4d1f729b19aefbee41ff5b4124dc8edf9ccea6ff3396ecf4287cfa3191c
|
|
bd4e231f2c834dad6a2ac82a1720cb1e42935aabffc671a168fca8635996e2aa
|
|
b5420f709573f7c3dfcd997bc94d413779ae18628c6a136ef9e00019bbfc6b4a
|
|
ace443954c9a749d50e9a74404ff2050d3d2a5c54143486be664d444a4dde27a
|
|
b70a37a01b6c1ac8845bbf5a033c27902603f99629a7aaaacdc260dfeebc4ab8
|
|
95513098e491b31dccd8b022bbed5de965c0f9105f3eda48acb9598121c64cfc
|
|
b1696bd9528dd09b7e612b0f944343fbbf82cae1357593045b3344735b7ceb84
|
|
1eb88d9d3d00951a8f5cb549de2a0979fa5aac6a373cc43720e320b2e81392a9
|
|
4e1940c8177f9a8933a6bc775d5cd333d1db2cf44d1f0eb832878dcfcc4d99d3
|
|
5afdc943d78bef799dd2842ec632f8a57b6906fcfae0c73cc26e7eab9224b7f9
|
|
afc5a055782f67382dffc30702e1e695bd836bea3565bf7fd5be61e88529b6b3
|
|
73ccaa1f9f238225262aa39db202ef91dda2279c3630cb6028bbeb7f9708c44d
|
|
08efd1b4b8e974373d848d1fb3dadeeb0bd10a961506e80796a8b2fe0447d063
|
|
d820c8acc3c3ac68811754716fa6fd7b432facb51f36b06278b09e02e8239d2a
|
|
e3e4fa9b75c6b4dfbe7cba76b40d421a9a1588e48d582d04908da6e0b707580a
|
|
cad4dfb111107e409cc8072e2cb74d81d1fc31544a4c680577f65f293a75292a
|
|
84b6b26ed67684c6734449d7a12afc02916977811d36015267706a87197ee2af
|
|
b9e0f6891bad9c7750a450d22eec1b1641569a8d39760565d6c7129fe9af36fd
|
|
b3b9ceee4ecccccb943abe78044860d68567a5efa632409130341d70f0cc1388
|
|
db3fe664fdd1b8d42df55f9426afcddabbf6a3d3e8ad5845f4638bbbb97bdd43
|
|
132464055419d20d96d3d28616e94f7a69cb3d00bd65042a91920090e08d34b3
|
|
163ea802ae98c0bd34f1568a39af1d9911fd01b3633e5acefaad16b5572d8bf2
|
|
6c1160d8577c1e70f717e1ac8ceb798b35457493a6cf8985338be0012e2ac1ee
|
|
aa2e28cace9a5c0d78cf1ea388fe86b2715a59a8ba5c5856e058dda22313f6c5
|
|
7f4df91635e36e15d57fabd61183f8417c04d7740ab5d7fa573c09112b856d54
|
|
38ab383bab22145a64ce049b9e9808b0180b5827eda1149b6466a9356919f529
|
|
2f1561b14888ab07b9ab9d3f8eca1b0759520ec009a45d39c8a5463856eb8d28
|
|
a85ca38ba7699c3d599ea572a442ce70a3cf43e11cac4b5ae8ba509e1277a709
|
|
8f9c4bad1dbddddd8f98699b70dd91bdec11914c2cfd75126d9ef8f4586bf30e
|
|
5c3ed78d4798f383cd90ceb75aeb44aece317fedfab09701d59e248e016f33d1
|
|
aeb7151ccce07af33d6a741da163c3c54842042adb1bcf70bafddd82a2200240
|
|
a7af65ae652677309ec5315c6e27a09d682b195ea024359e70a99ae55d7dc3fb
|
|
ee3ffdc3ef0a5e706db57ccbd20d8c39b06a60cffb8674019101bcc7e92cceae
|
|
7a85bed7c29c70ded7cdae322b86bd4125f678fdf0afa42506e0c0b02204c1b6
|
|
dd77e2cc9dcf1258e89318a9656e18c7d51959aaadee73ec3b33be071d7fd111
|
|
04d0cea1a25294e4e58e9a58814522313918f8ff8c8bf95eac0c5172629dadab
|
|
3e2344458755e539f8f3ba60595b662d04403996d37021fe5fbd4565c0bec8b8
|
|
9bfe54bf8ef22dfdff17bd2e6bfdaf4cf4d4995266ba17d199bed7b0e269390f
|
|
eff273b98c35b5bf04dd32ab7a6836cbf1b32f660cd65ec7217e595292a7ff81
|
|
28bd4b694710790f9a7d22f966df8684ee4d186513886b87bd200ea9b92762cc
|
|
4929325a7c797bce44dd498e4c4624161a062919847f8c06370c70cb01f7eabb
|
|
449f2e50ac9620867e368d7cfeac247eb86df36997a550cc5ef071a31bae3099
|
|
2b9dff6d196d860d6be25daead412321e9a5a1f2fe9621523c027b2e34d1d97d
|
|
8792c69eca983bd1fdc823eda5a0116798a4197c86767132a968dc94b353816f
|
|
64fe40fb4818ca72c3b38f343cdda351ccfc5df8e0d14a7d334c30d4bf2763b1
|
|
7bb42d8255eb5121225f0c0a0312a79acea5e3f4682995085922b1220aba6c1e
|
|
2aaeceb0286f1faeb501d2a8bcd91421d22d888dd359c2d498ac5c439fb10052
|
|
6b5022944a796e425cfd0c411ac88864fecd9372efb4791400ec84abc51213a1
|
|
dbe3c2e17a8aed4b535599fe2af34284e07caf194c920bf1b55c1c4940c31b59
|
|
1d087a40a3fffa8935de2c7dc45f03560c335d22bc15f2356787e54cf3fc6d1f
|
|
c74cff731ad0096654a9685f7b35d4db25ef50ed3b843eebf0d3206072f07e8f
|
|
29aa8f07e604c5c6300aee783e368ab5abbfd4891d1080b1c19df54acf445d04
|
|
70697bdd62eac9b9c348348c796b476856b73ee9efc8f7f597ba2ed90d97e3c9
|
|
cdfaa28ed82500a3aba515eccbd2b86ebdb5cab46aa347c746e3ac7b6b1ab025
|
|
f2d0dcb9b0521fa199306bc666b6fafd825fd07a8ec5767cb2bbe5888019b701
|
|
5f5f6298cb5534602b61e9307e001b8427eea9a9f6f794e6fac534b6edc2ed8a
|
|
309c05e2231df97acb18ae1d516f64ff69eb197878fdd006f02c0ff8f38a0364
|
|
0cbde6fdb3f57caf362da3fa454316dcbf770f9b490b5e1380b0605d0f07fab1
|
|
73f2c13af04fbab2efa814ed1ad635b52f6cb9d71b08a8278e6e7de725581bc2
|
|
2bfa15a008840a32416a91e4597817faebbe2d0ed18829eddb4c70c14f4817d0
|
|
cd9fbe8af06c527b040fcd8b4d0cc89fbbdff779497443714c6056211a247b73
|
|
f2a59a208a6eae6d994323f1cd0e1d5b32b139face20e974894a7ddb58157dcc
|
|
49dfe030608e200890279b92aff11242598c7a73ec8e09bcf10dfa1c89cfa9c7
|
|
af20b2b3d7fa954b92c078c93d669222174e243525ba448427f212a04e9b619c
|
|
2136d73f1eec56cfb30df532c1f8ac547df27240a5cd6ac79b3875b269007ae7
|
|
b4cf52c15d92fbf8b598c0ddce7bcc8adf24d54ac64084f0707568ec4249be89
|
|
ff71fa221d2aeeeade7e74c1e83b9a05d9c836ab14701ab79ca145b5df4ead76
|
|
61c053f1eebbf5fa77bcbcb68727977500174a309ec9b2dab58b5372d02f3295
|
|
aef9d46701cda304b5b0f6941d8c056b93b68bd559ee32afbe5c49aaca472b39
|
|
f96a8c6565b070667ffd4b465167e5948ba056b55d837b7a26b6c8cc1c778305
|
|
eebcc3a2a93902f3202918c68dc32453100be1a41c3889508761535d357ffda9
|
|
577924294754cf11efe4cc42e40a85140508a4e05f3e321c98e9e8a16bf30229"
|