void-packages/srcpkgs/firefox-i18n/template

241 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=128.0.2
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="7829b54cb8a55d013925e03896f33bc1337dfb54a3f19582bffb8d981cbec746
1bcf7d625627c16b4821dd3c0346e48aeaf3528faf1f09b1dfb9ea64734febac
2801867ff45250c11266400b16e5c26047607dfdbc1381da5a735e280fb9017e
775707a66f0d0dcb78452f0af8d45146f8f150af96d67fa3f1d9dd7e56343224
cfa874d45f76287dcb09a1460219e223cd2c61bbe44b4640a40aec4b3ceeef22
ff81b67d5355e30e110d051544ad294102efae7dba5b9ac87949fdbda04b9d88
90912dde910b350f6c9a169fee42638d0ab4f551eef6b4b583b22a6bd4e11bb7
5b61ab909065ef07c1e06c09789a8189b8adfe910ae8dca183cf2c22df8cc19c
2ac35ceac920cb62e20de112ceb2300ceba1372f2ec2edaca1a5f9268cd955f7
1953b0ebfa85c7b707148432ac084796e8b1a8bd7506b3542f842ae4f121f610
102846d56daf70a46bcd0998958a73e7d143dfa4c68e1f4efa82f43adfc40f45
e0be6915c9a3a47e7cbd359a5b18572e58456d9525e66d1442ede391de51f7c3
8e2137656892222ac39f4a1a91efb244ae59ff4acbc83b2a60b00911848d0e62
30e26e599e8d90f83c898456032c7062e5fe89a50233e5ee7f74d9251ead6887
014cdd4d0fea9d78fc92d8f93a542d7f21170d09ece3e2efa4e35148fe797436
06aec97053ecfca1d2c9c84b634b92fd5e7b05f49ab8d0d2c1c26d77a62fe0ce
54590c2aad238c4eaac7a83859f441cb9736c136cc2facda1518a2445cd28556
2381fe69b3632b5b482680006e114751d0273dda5453cdcfd50a50a050a770b8
6fcb44e2207ac66bdb83519d11360776993813cdb96790909674f7bb7513ccd8
c0a744e583a75beaeffdce8116db73cd985c4903abd0916ab41d51a131143620
ba1d4a3137dd16e1c5eaa9a9e3c867b2c2e69bb7b6648ac06486ac31fd7a5781
508f7867e5a935ea65045f8889c7a41d2c830dd6480420caca6d3a1cdaf9e50b
51f8a6aa6574422d4e91beae18e84b5fe25071f61a83a079e77da9ab84f1d128
66e7ca466b5c552bd5b02e10d1d08ee277f762f9a850e22d894d6095b09d9003
6a96eb0cb785d1885a9eb3c829e9e8bcf8aa95db98beb02bbdb3e4511985c84d
d86f245ec39af1f76be1200741ef415907763115d4ac468e2c2b5eaf35159f22
9f5e8600e554e39b9edb947e712842774102c42d58c9ea98e09fc770e83e15d9
6f03b52179f83eacca1faf3ae35142254cd9605124a624fa8fba905f652b586f
d102869077d95ababeaf6bb13dfe6f36f3bd2e9c64b6f9187702fb2be66e31a1
99e224a1580a73506c6f91eba541cdb402781fd71653a6393120125d0a139e17
2c961870e1acd7f547e5d8d8dff2cb452ea8c2e25e931fec0d438775a2d3d64f
4d9ef092e27df5c0da908bcdd501d54be5c5c4a83f0902cbe10d42bfdf1931fa
481ad0320682e34be489a9ee17c330aa385551c0868e0d2a403854943734dc4d
2089fc65610532f9eb93ee9fada77c94df5a25fc873df153efc4ac0241b181d9
cd1c558cba6e4f5f32fc1af75f9f65e2df3022afd7a7f2ad82cbb453327d6996
3758d7b079aa29b3dab971049a9e940eb907c5ef27429fa71de805f238a0881a
5d5e4c144e147b75b0d43837d793cd2617e1361327838f975606bbfdd3706974
1bb44ca1112cc64f1aa922db0beca78cb2f818311a302fbe46012979cf0be11f
f39bf3135183cbb305de743cdf81657a1fb3275bf13d931048cbc2f1dbbab8c5
94ea2993b6a8c0d6742d58524c091c9f162cf2b33afc1a7465d564f4cf176d5b
1e6ab246a2c3baaf837f31050b67e61b78ab59cc3f2ebc51b290bc5586e3ffed
4e6d1a184a1c906d5f954c422cc4ff43e90dfca9420dac02e9707f58fb582ad6
b267c2d28517fb4af0cfe60e857dd88a007c29c25ac6b4a7bbb9b34de5d7b3eb
90c5865fc2d4cea052bdebb4077290192901b3cc9828fb59560fdc01a9ec6f89
fb2cd87ac523d3dcdcf91cef21ae5c3f0bcff60873927b6c8a872557e3aabf7c
1d06fb8ac92160f64a1e137f7535fb113a9a3295a667fd75663f5672ce67263f
be436255c08a749342d24c3a459eb2d7db8118432311b41a1720d370cd9c830f
42955b822a8031f82d8081e9c5cce1ab5298e29a66cac40871511d8662319b97
f9250730f4f9e4f5bd3901956dc795002dd0d45ef86878d54933f4699cefbbe5
7ead02bf440f1346d966278fb77d5b0365611b269ad06de273c40273ed8e91b5
88ef635f97be785390d2d6391a82340fbe4af2bab76db7043e0d794587f716f1
d935927a11810620b7032b94e82107c335aea8c991ae184992aeeab2db1b7a40
b8e971a1d5a9933b90cd89994a033631116799941d59604f5836c10f69c9a585
c6f048e61b6655d8d76cc30a80124d81027357ffd5b877d575fda6b920fb34e3
47f2f8c3536893451209926897e6e631e6bcbe096d15d61488053ba129b185c2
58cbefc33199faf420f07093e48a67030831bd63863b7b04b8301c2ab04d139f
99d667db58c4c323386407f927f90d9bec3cf2e33a33a6c8cb8b0af1f3b85d75
515f10dece470efb0e1cc3306280aa953b836b78556b2c77c22efcaab68d2048
e149f79a10e661b933b4559707ca04227172533fc43d87178625e00b36088130
b2afd59d16fc334c6b56ceb5f66b2758bd4ef8a640ad5b35f1de6704bcb3875d
05cbeeece481dadc2bdce83eb843f2820f307108f8ca84eb52015425c72089fc
1e835f426a952af1bab5dbd9ba610abc02e1c5c61be4d5065267e335797a591c
b47d62f097b9137445def752bd97722a3c9fc79b54cc85c53091bc920ec0549b
7d634ef5340763ce50c2ca6677a559620da80abf99d09a033004ed73f0d03de8
2f7eea5eb139c5ec8acdbef129e14a2f2c0b2538dd3c934ab9e498ee384ef4f0
ab518ea7d4bb7fb9ef58f0eb7363056766fee21c002a25b488dcbd03271297fb
5c1e628775752b3fb93722b639f16c78454ba56d917d2baa344be65962fe0edb
8665c43b3e75f4dd6d7f795ee3fb6d00530febb7d62fe11d74a53fe7f9bf1173
8344af9f87082d03633fab9e21070fb06b85530e43d1b4b4951d503f618c59a5
b56d259b94bdd39408073b22b3d290aa6a72d9948ec096ede5d2dab48ba4a32e
05583a8ab88ca08643c966f094152e314f18d9d982999ab58fb7f109a3f761c5
44be76ef03668f96dbe21e952128a825f48ef7a2b60f5e74c5349d2f5f24028e
a92d2281181966308c7f72ca7599bdd4c650bbb49113d40fdd0b87891525f695
6120f7423b5920fbb146c95657f311a55662b4f5e7b91f7344425354eb47776d
290c8fdad9cd152372a8326629b56ac9aa3179f2c86f7404aea6c0d3a6bb016f
96ce62af2ac276145f56bcbb10fd784e31120c47a56556fdc9423ca73cad03a0
26a25f040c7900e80c65de444f8ef2bceae03837840c40fb78d0bc9fcf0c64b2
4a3dfe42f51f120ce163ab022e8a8085ee83167624c9513880c59e3e09e10b2f
ddd3022cabb7c78b585cc20e9fbd57aa8dd0bae73a9f22aa97290e8f4d295053
acabfc72d5ead2f81da6850e6d2d52567f70972434484aa054e69198c7a9d578
bb574a276d629a5d21b9bb5b430b1470dd74d4a7be66cd8c8f945dcfde59d710
e74d083b03408d4c212352469af791b75ba037d50653d6943f808e9b04189609
62f22342ac84b438067b590d07eea3f36a067aec1b86c542bace0fbf0c6d191b
ad416060fa5fcb60193ddc1d6517d2356907383ad941108b2cb34af38ca7898c
be40752024b4bf389335d4a5f1f73e36c8dd30ac3f5517d84c6ced33bbd7a8bd
e74bc479bf34dbeed872a23a8673770c2d15d4bc5d09de261a572025221d828b
b07ca01c369f8147b91b6296b4d07439ec5f94a5ba0509cf8abc73e4be5ef39d
f4f3939c508824768ad3b6e4afd4d4772ca69fd945957ffacad83fc9e566e250
59de63fd5045a798a25a88a3c204d8f9cbc25f19925ca8e34738fc301d3ddf63
6c61b4193c604c24793a5c5da54999f95ade557b732121bba263dd683cd3b7df
299bf3da92f5e38616a4a4b542587885d67224d3f68ab82b808831f3df96bfdf
46e28012f594e2790dcf983a332fc938f9980928c278b08bef00b081fa8f2734
26f6c5be812bd622191899d2aa0d4d5cb4a1aa934eecfbd3b8b5d093e103b1a0
59890aacde23e5a2c1509ce89c724d5b897935c173948049068fb8f7b663a7bd
717120ffb3c2113422605b6e2183b270797c377257eddda19aa2f632b1d5bec3
c4776284a017ba9d0db50377b8e0f76fc7e8ad7a17d1c65077ff291e5585dc05
ca99f5b396c2c964388097eac0d550c9786e7822d98eb2ede3ceee85b34170a0"