236 lines
9.2 KiB
Bash
236 lines
9.2 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=76.0
|
|
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)"'
|
|
)
|
|
|
|
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="30383d8176796196a86524152afc722ad991c79920051b2e6f8f9ece7816c12b
|
|
a0301a9fe77f662ce73d22a829f0275531a083e1402f3fe6a0c7de63e863f8c9
|
|
0f30a5340bb1d4c96074dd096b9528342a526f98cc2bfe9aacb400f892b5a7c5
|
|
27717698189dec4de7e9cccbb8419f454e8c95af9a6c122c39f7b4534fb5c137
|
|
f06652419752c172da3336ccdc5711d375c8ea897b8ff47e7e33c23e9e6ce5ee
|
|
27f2d6eba33e499bea906a13f56dba6607e80393736ee44002ed46b207037b1b
|
|
cd498048e6d664cb2eb91288911d9c7c5ac4ba39e30934bf7bff280cb47eb58d
|
|
6dbe2e39ffadb2c0b30027cb87202999ed85844277857ca16bf7351bfbc05216
|
|
858d031986a70306528abe43441ac8099bed7c51b3e2d7f368114c21399648d8
|
|
bc7ff15f556e3f27d7b9f4b0c74dc21726d2732d0fd3d8b4edd3556b49e88a51
|
|
4cf3d29fd66313418d85768e3595cd9ed11cd656e0e2377bb133d42e8914b12a
|
|
d002fc212109ed35e5c25711ff5b7f0cfea276d39ff0171fdf1e588a9cb6b636
|
|
53ed8fcdbdd592e628612f2919d61beacb6bbccaa2617887f311109ae8a21268
|
|
6f5f395171147a98e6682d9103718823ac94bed56b0ecd0a8b361bb489c1957f
|
|
850b843cfc902b49fab32e738b5fd2c77fa3470e65fe2eece4e08cb8e7b43e53
|
|
f5ad302b3a6715af60ababbbdaeef0c6d5d90f0c5965dc7beabc759d0e4bd16c
|
|
59842522b90ea71392f5e14dcefebded552c8d56cd438c1de88b7657d5b6321e
|
|
e2ea96f3f7f5aaf1fc79fccc72e33052825a14ca08b6714c7179ff1328c3fe01
|
|
323ad45e73b1c2b35d741bb89a9b55b2b628d93bc5b4a19d753f4b84230b5df0
|
|
a74df500a6dfddc153e47871c83a493fd257c0e4e9aa7bc2591dbfd47ea552fc
|
|
3f789b59656d8fa1b6c3c4cfeda405c0d0a4cf0674c456c35dbffeba5eb2965f
|
|
7b6e9c55d463b268c27b544969313243574f5573e68dda8cbf18c40d817dbcae
|
|
5969d906d76f661993bc34f3403b56b2684c9966fb22990940e8e1f3d27123d8
|
|
b233979b18aa00bce8a3f0720f1719f1a8fd018b77139fb7d611e274a844b715
|
|
bfae78c215cdf6f2222882ff19fac5f937e2b38b26bb988f2e7492e07799bbd1
|
|
ce5d225b68915358a41ea571c282a0359e4067468fe4346b62d52461c203051f
|
|
14360a189431a2f3f0f940d94efe8c3ca6854464a6ccd131a58db79be8ededb0
|
|
08f0ae790d385518a87ea4e0686561b34e1335ac782ca6c4eccfc336dbe8c274
|
|
99fb1388aef301a2bafa85f5c34f198e584fac65b75786c3f581fac0c4a7b8e2
|
|
8705116472a878c16bcdb6334a506e4b2c3c7c2d56b98ceea1694fd8a7d66976
|
|
ecf927de1cb1f1b97a7294fc06a715074cba9722662aa6f278ab2000e44eb5c8
|
|
692797fbd50772000093ca6d23c56b52f94dd87cd2bbc862bf5f8f35abffd213
|
|
5c0f4b0c72805e2d5ab376428808d028adf9ce0cda4c5ffd487a9945870f18a4
|
|
9af843a4db68745f2249d32b506ca6de9f0920eb8cec87b80f2f76b9727de0d2
|
|
60d33390119220f932b04ef5c844cec42096310c839a004d21370561471230bd
|
|
bcd200afcdadc0d477023287feb448718c5a2e5feb0a316ed65b7dd0e611e600
|
|
ad65c239e085b96e2788e68fd68840300743aa3d0f79d0707df825b3246bc057
|
|
d69841cb18ef217040e65aabbaef3df85f8b944c851f2ae3eb876ca99773e3c0
|
|
f8580b23b1d964de12338796f24bd68573bba8c1438ae6a4460437c6fac7c6a5
|
|
9c07139c32d0b372a3ff2dde34ddc6b9a96a25eac4482aac4f6f2f39dba738c0
|
|
d9b08ec2c79c242a59349d88b1bde5dd61efd15f81074fe8361205779112227e
|
|
d7f3a69dc4e869b436b1ce914765cd4f280bcb932dea0ead54e60477fddc9d8d
|
|
72a505da3a461451c19bbbd8f347ab263f8be30a8f39808b409a60e7a4552bf3
|
|
b6c53e7c418b0e9a62751283e6b3a974d3adc298b821ed7358cbe447017b11d8
|
|
41b5663a47b73f4235e3ecd18f769d7b8003304570e9e3f52bfff255200fa074
|
|
e8b04851430d0507601ea269098288b550331229902e52d49a19180ded459781
|
|
079037fa4af80177dff0a0f6be78abfd3112f8d8d9ac58756e33dea8db787d12
|
|
e77208f1de2d328524a12a2958774eb870355591345102fa87eacb208e4fdbb2
|
|
f62b5decec8cd3df8175f6b467eae4fc656ebd41bc828c446df538f771a32d4c
|
|
8c650d192180bfa6e475fe4bdeeb49583e0243097d23f541561249df991cbbe4
|
|
66097e1f10d6a440b107e99351594b2504bfd7a480765c3e1af68d028374d176
|
|
dff42494081a726468944484fce10328c8dc9e4335c81c4bc8c94acc73867577
|
|
970b05bb662112c371d408d55af4e90ad53f6f832b416978784d2455931f3787
|
|
f6eec89f4e979383c7b0633fed3775f716395a906d253f18ed9b1d404d54b4f1
|
|
4a1b3e6f0bf07cefc2959769ffbdddc4956044e310e0c7741a7517e347117bb1
|
|
b9d568d510b5c672aa5b989a2d0406049c61b42958bcf3acebcd68f965a7b7d7
|
|
518cdac69929a7e635d37d2fca16308c8d6352c34ad2134464ee91f37612369b
|
|
1e9360d70a067ecdd5ea03d5117fdffade6e9bc989602e2dc5b5fd311a74351e
|
|
af6efa809ec098507c13e4cd7c299194243a364e0f04f4eab6ddd6e7e0017bdc
|
|
1455d5c873cfb269de2e54c852d4f95b4126c68c63d7e31fd5bba2db0d321374
|
|
178a1d74a7271f3aa658992ab418906bd85a2fd0deaaa1d25d1630f160f086b8
|
|
b8f32da32d5984767da0a5ce47644f9d1e2a7ea00230acd0f23c7439fd6497bd
|
|
39ceadc8d4ab39547a3bb2e9724f4be421f6364f50a54225332321e1d21df08c
|
|
a254cd24b6281ea572fda915e53d0a3eead3c0e2fdb88986d7eb18f3bdf1f43b
|
|
e8619de06ae50605c37b7bd00a37c1cdabe4c8a1e14b6af28e121d11eeaa6328
|
|
640ee4bec4942d2620f8b692736d6163c9dd668e962db6d957c3e02be38bf7b6
|
|
38c983360deab94469b7a6c916e833d792329ed2f142c1f961b9ca8461edd3d6
|
|
78a0f011f49e03ce7936be3681ccb38b649f14a1c2877fc9aff476089506f4b8
|
|
cedf67007ac7df003c95df38af220e410f0e1c7e85c6657ca8ca82124f9d3033
|
|
94cc0e31e2a51b5039dbdc73c89e1237d4ed0011133af47f5a6807e399f4bafd
|
|
681a8dd9bb1d26738de7fa3b7ffd8f95cbddcf62d70b9928b7339e39bb3a9522
|
|
3ab95ac2379585e4b4806381115073b56bc628926e2df93bed8f534ba081b974
|
|
39b5a8fc7ec07e146d999289462fd852e484c1536a625796f0507c06e1d7e0ae
|
|
109439463515c2d560606efb3703a025c5f9f4f5fcda2682bc3afe00c71c1a4a
|
|
00a3a12ccef1b6fd98e3ae291237646d2ee41bd5647c026ecc61ef875eaaa984
|
|
bffd35a90b6b1741f0819e319b2c5a56b926bc61130f909e1bd2811f7f34ca3e
|
|
b9a39156d03b44f144e4c5eb9014cedfaad640666f22a36cf4b25d7cf945c6d2
|
|
c6c24fce2093088b654040cc10057463a51a11f48dae36121922d504e6b528a3
|
|
0cbe376d998908f140917ab306c9ee5ac296d860dc97d8c940ac1c1cda35d9d3
|
|
cbbddcb2b4b96116ec43ff7614559726d9208f2ec7a3a4ff00949611fe88aa69
|
|
bd277fefec544450d01b2cd0e0ba6fa5359e9ab2a7cc2210ce24b6e363ad9354
|
|
0a00feb6f54a81d27a0efe3e8214012010f65b51bf1daba8ca264dc96a7f6b94
|
|
3f8b9c5a3f37086c0ee958c7deffc1bb5dcca78ff5af1d02e555e13b514dd641
|
|
b138e9d6b1f24776b82246448a2b9a1094d73a36b7e3fbea0630112b480edd60
|
|
891bd83d1c911bac7b6cd68b3bb0ca02177978b7789adf38358788f88a8a7eb8
|
|
be35062c0e2dbdcd29e0fb2d5aad022435f7825828883e3c00ca6288d03afc25
|
|
44354f49aaece478ac9c73edca330a32103f9fbb611dabaf8175e6835480aeaf
|
|
fe69f36fdba113a1f84c67a11ead0f87d8b2fa08c60369adfe087d4576109758
|
|
1436b3b645e622448ce57cbc3c6d2188907d3b9c50cf5ce9bea2322a6d8d6a4a
|
|
e24a396e4299518ddef608c26841a5d367bd69820e4cce7facfbcd56bac50918
|
|
9b80b586ba97529116c692ca072e87a18b8d3209bbfe0f4114918257ab743995
|
|
825bb640ed385cb57ec5025828854ca7aee2edeb5dd00dfe8994f90b6036c163
|
|
af2278fdcd6767d709170400ebb8c3a4ecb88532f9fab25faa8cf2c6e34283d3
|
|
fbbc190fa77a55dbe696efa4d6080ea166e33b4bc26cf9f32243c72c910ec03f
|
|
4f27b2b1ccbb892575304e4574e0b0a814878703b8a3a512aa3e2b0b0af5d454
|
|
dbcbd4e531f1507dcb744dd11741a57aa5798c6f0fba62ff4cf7ae6fb3f7cf79"
|