void-packages/srcpkgs/firefox-esr-i18n/template
2018-05-18 09:11:34 +02:00

229 lines
8.8 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=52.8.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'en-ZA "English (South African)"'
'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"'
'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"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'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"'
'tr "Turkish"'
'uk "Ukrainian"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="firefox-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $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="
0c069738a285dfbc4d5754086cdd108ae36ca89e5ac08cecbcc42e972a5d275d
d7645158223413e16473bb56a44c7c04ab8ef7b3ff7da6cf02f4ece06ac9d454
06907c301e1cbcba62d31661b64f1744f7df8827722b21252277749642de4857
c96116a11b70fe005284aacc6b9c5758902667c5e412a658665390ac505b7857
c998b908c3999c096560ec00ec9abc4e179c2399e4b4c12e67f4db80388a0a71
b30101831b319b655e75fa54a6805c9ccfa62918906b1fb1c5057fb3317c1a61
e33318ccee8f9d51af79939a8ff0bb8aede9c82113ff28bf67bf53b9db6acce3
bc8f076c26966fb7267d4d83dd8aa42cec8afee83e4fb9f9179bae6900c3724b
8b0beccda82b82ae4ae3c6ec8aaa8f5650848a069d7dbd6a9ae9332e9131bc26
119e447221572186d0bd390767e25214f157a8dfdeba461c2ddbf76e5fa3b8e4
cc3ce8d3c3c54d5418e5c911ba7e94dea503c62b969f7effd26790ab100aadc2
5ae3a134fc1c14bc8547532d1848ba483f1e0d4faa7119d6615c35f0656caa7d
8c8f8c8ffc64e435b29f9ed8751c6006fe9a665e754e1a656d78a06b9f989b0b
2fd0fdfc2785365f78277c9fe4fc9a3c3a8494448f94c302379cc71af0afd9f3
d902653a500d41d157148c7812a16118b65d321a5d5c9edacfd4a3e6276f3142
a66f32cef38343a78f7f38990861cce9de29a8bb2b3237c52841d3c9336fb4dd
2818096eea89b3fbd8a77a23e587d8770ec0f5175f1bf7838c2db8bb7456ae1c
f70b4b250a9ca85640fba8467293a0b52f2882d53694edd80abc96b13df13d69
71b9e71ca4545ea55f13245b90600d0114d3ae72d16ad2db25db3f034592ec7f
94ee8b852a012f3a0a9997fd263ff9f88405d6bbe427ffa33fc37bff567df0bf
e5b5a6ff2e3d9f483b9afb425f5a89a25a3333db06260a2623faf2d7847a014b
e5487e67c1789fa15d3a37f5316f9204a9c871868720205c81d9b5c6bb2a4f9e
0d6e4fcca8b7160a4c262229d06e61b116e3bfa8f164097d32e37ae53bb0a06f
24ea6ff03bed39895d0c3f6cc4432fba6d58bd42814efd2dacfc12021090a2d7
e9830ef15fe651c794e8c912fdbe6deb9b611cca49f02c31b847a56e5def71e0
fe09b523998ec03878a6198b0ecd93145340ee9fad37b0a891e252754af12fab
c45f4ca91ccee666079790ce377f474c7992d410c88c16ce4551867711467a30
2f4b8e0e9377a85fb85a891cbbf1cd2007456dfa22c7ed78462d39fc6ad0c558
a59a78a08c5116b103304952f4abcaa347bb9992d49ac0e6251d32258b24fcf3
34147575109ddb584dcb64d79d0e52f3fb923816269e9322c967a78b93c7825c
734508a2d7997969c0cfa2f46751830e0e29b5522548994b385f7010449a05c9
4bc09e0c823a44eff73d3a6e8500254f3e4296099428545c8fe8018a89013ecc
00bdbade3619e757805e043cf210bc20bc9ef67e7c5a7d2d5d87a921b782ad4e
0797c241bfc4b15becab480c8eb7ed68797f9f745a116511a55a92aea68c0577
006dd61c7bb4582355fc5d50363152348a51b47ced2b81e0cc34a27c2a28f746
311c222f54accb81014384cfda644c9d718a09baf4935056016307324cadf83a
1672e7edba46bfb551628e65066b7246270b19159fbae0fabb988ddb21b74ad3
6ba049f809536745ba87e2ef459781f1c8ff99edbe08330edea157f4cf7056aa
2bb3a7347135675dd29bb72658c523428eb6af15380d52457a7f1aac1d381b7c
fbb71bf898b556476ddef5396c93daab30fb613229323c4ccedec789361e5db3
86917c56b4e7563db92a36d9facb9e41777d5751ea3357688946bd157f1c629e
452c73e8962c3ed2858a95e69caf8afaa432e6c3a0f6b3c04b1d758e8b0aadf3
2298fd3b2ff6260fe27a41f46efe98b5c4e17b33f8f21f5a6d74caea31ca8fce
4bf3aa58d2c8d0659da6027d85fc5c516921cc87d70fedf092621c2ff27f8d4a
35b2ac640ec58bda58073d45d3a0cff6d278e251fa11a98596151943961ec0ce
5347069b88b0020bf2bebcbf7fbc6e397088ac74e046458e4aaba9c837c211aa
dad28e6b93f574d2995455eac8dccaa537eb3d8a3366807932161a12eafd97fb
c4c3296f24996c35c9e18db7bbbcd4025c0a3a774d7af570b8edb6096fd5e1d1
608ecc2e914ac17979ec28bd4c18532d4ea7e274b001326e082e2f642737f597
ac443368d345d2401f1e994f1f1698d5eea19af07b3fb7cf7d50b1d9662c13e1
8b0d1d355dde3d69d5f926a7a40b9f2a35c9de6c62b09c05f034f553908cdfbe
b1c074e5f191bf464911fbfcf7b77bb6b7207a70f058afe9660ff2b877b95c71
e78680221cc5d0e726a1ac8362df672a70aa4d0f3e0c08c47c9f3fac7eab0211
d6311f10d091e66902947db4a71fa4951876beed37b4c03e02cbffb63049eff8
fd95160dad8787ed8803bc8e98f2ef7c3e57df5e03a05013acb038753f82baa6
ca78841e987df549a641e078e355c3ca025cdcf7c65124b610f0844ac07a6015
4864ae85dd728391e3144b48771b26bdf60a6c226924ef3dac3583b57635f2d8
116b6981342e442f448c98289fd6439068128d2a0362076d9522095dea6f7320
dca41d4e38dbb5bae255108f7ee853579346ecfe50b0572a2c7c7a04b969913b
8141c6320d0e52a82f5a6574be227f193fa3491a3db4eddb0a6a39ac83f56793
1ce5170def238a5eb32f0f55c99f010f255902212c416b055520748f7a873de6
2023a29c5725ea458ebade2874e49c48e4fd83931f110a4d172ef238f0a4635f
7b8b4f669e445aac69fc7b5d6159c2459a97b65af06d8db9cd8acc60f82abb0a
5c8df679a379c443a5ac3416e0d3b21fd2ed5ef955addc7d0b09acd26085b285
0a222ca1fda65aa5c291d08bdc50807d674d05bb52ce77683c063bd768391b05
9da67e7a18168ccf4b3b805945c2dffd75f7d1574b05bb384049bfc3e29c37f3
a98bf22c3ecc3225ebfbb310c84324e545ce85627461c1bff22008aa29f504d6
6ab0259bf3666112a6171b0ac11b9ae74341930aa5158f154a2eeebd5a33eeb4
10dffc15f93c9347a6ce6c2ca53877057fc758a8c3a3e7777ab5858839072f9c
ebc90628adaf91bff4a2dbfa3bedb0bdb363cab180dea7b341d048f6a494c739
d73047b8c868acdd502498fa0731d672f4e8e50e55fab6661ad1e8b68e03d522
d3692c2cdc86a60b5ab872d3ae70805c7623636831adba34759c99fe4760451a
dbad8461140a9bcc5677b64af330adc48da4a5c2a140e10b1fced2f8229b526f
fa81c4bd21272c894d35b273658218a51c2f17e0f6149fcfc6e07c94217a1377
b2eff18982c8464b34455dd375b888d76f3b13b488c9ad1cd0c6e5075616bb6b
03c7d40c2df94c8d1a1e838b22aa974d86ee50c5f61d735da8802b1a5ae04d85
8ee0ca43a6f4600891ee2258879d575aa4fa475421bdd53aac5b66462d9ba34a
e03149721297f487b6b8d395add7594f72d6c506ec1be0eb229cf36dcf256824
16906b5639d0331c96a89e443dc173ff50136c3a9663c769d81cc450a0f8f70d
f9d6bb89af80e355ac77b59bd0d7d9088fb0e400fc59402ddf83bf6337fc7f1e
5ea9289e509f62ac2315db1d332741a31d935cc02b9ce3af36898b082f293d9f
7967be14966c44205fb1319350210667bdea3772cc59309c67cff972bbd19fe8
2b009ceb488018ac7473e3a3f6fea9e9218644be4fef53e6b88dc27ec4290bca
9907eef05e38743e66758248a7bf52edf2d4e9d22c82b437ba7deb920e5da9c0
94942825b0d1a0cfe49fa64e1789635c527064ce5c599740d96590ffd4a86231
b023c5398ff903a2f276802a11e5acda7d591b0a25f54ad1f857d71ccd3dcf05
ae9002bac9accfc3037322208e19ab98258ad796e1696cb74ffd17359ac41843
f729000a17f6770423895af7d123fb0cde0f5fbe854d692a474a26a4991f6f2e
324ff5d2900d58d7c44b05381ac4d280d94586392d786aa7ae3b68f11a5bc4b0
f2abe016111ec875c19d76e7265d40c3bcbb264fbb3c5aee71835326a8231a03
a1bdc0ad4365fedf3cd9cb87a58dafcc08333a79e0383cdf97a20e91e5a4f1b4
a837d5724e77fc8a7983caa7cd913dcb52588c807f21d27f502d426430059acf"