void-packages/srcpkgs/firefox-i18n/template

217 lines
8.0 KiB
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=28.0
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'as "Assamese"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'csb "Kashubian"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'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"'
'gu-IN "Gujarati"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'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"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'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}"
short_desc="Firefox $2 language pack"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
b136b56da7f11a953ea881fed60ad15a20d91682c2dbe4a3519358f44d981dab
d31886aff8bbb30347f7287c93ce4b9b55f898bebeb0897486be5ad5101cd381
a28f014a3918bb07ca946d2b051ad7b5200a693de93b3c19c0a01a9cf2d9ab0f
6868b3ac85f67f7c5d604f1ec0bb40238fa7f99b9615d97709c9c3eecf6586cc
c339a8c821547204d1c50ae504cdc3ba53a85c8d0ac3a315f22c68d9da2dfe51
0c7e712625db2b4fd3c8626a88b03c4f91dacd252dc8db0b332da205ff2e3d8f
210247068b21cead73b623d9b860d1607247015f5462d388aa7d886466ba8391
bdc9aee10f414c86a463e08103afea3e5cad57c5818d0e71f9565faf05934f4a
4d4423b348cd226eea97a0295485f88057f80f42498744099a75bdcad4fa6f1d
9d1432b1b097e69bd5b23cca38696f3768111a7695112c27320b6c0eb4c85cbb
ec26c60cbb118b93be7ee14f99d08023192d64e4cfed348cc092059161795955
699f55f7c6d05e30750bc5081f20834c1cf6042760281a42b8ba8eaa93cc546f
eadf904b54438b17e8bacca9987444b7b0cd0367fa2c2c26202ebbf9bd5b70e0
c0419442a82ef33874a602c969068e81f652ce9b81dd758c26fcf50668d3f751
113041740f7494150fb22ebd857fdbbb8fa23b063154ea04c9b82ce89a25eefc
40cebc8db2232409003f2a23d3ce254ec38ae651bd0160c26815f1a9c438328e
2f69ef2213355e608eba50787ec19ba7b1e57f87c3b0f334697ca8de4716ad5e
f13121675409c9c39ebff994844ef61df73de1d9e2ae77e784cc477f63ee723d
60c7e40108749db48bf1026d3a0981724843d65c8569a49a34c64e4de642a401
b9a491b4315f2326b9e4b03295982b872a916b75478452e8744903c52496ce3a
cf5d7fe183e312bc9a7b5c3121e73fbb31bb441277436c814bd2c75ef3b7fb89
2e08a1463a6842bf0b03b9a856006dcf1fcaea42c452f9aa96d50a2b35a45bef
f9b9528fdb5f3c9afd6a15086673dba708ced06adf0e3064b4436e85aa2362d0
a8fcd6440ae1184f274e6f8a00aebdeebf8b9768e5ec47ddb5cadd00efc71c14
c332b136719394dbe623efe29c443acf0d35674fef27c0afb86cfb0243e72e90
c7ccd0f83b0d962eb1e1ce4eec752fd5bdba6c8ad0f8774b2147a2fc58c25af7
0e97596ac377a289749437790e314400ee3a40d4ece77493d876f347e198a4d6
424c8ab11aec74ce8c608d55c09cba9a9bff047f917042ea92f54f1f2933ad05
37f16c79b6b558bfef6cc10078c9f42557154ffbd00c7b157cf1279b9a0330ff
ef10639f9dc81fa67c285f32b8e391e626099b3d64b6b627c8e0376e9eac77c6
73102b5d087b3dd3fd711422405c715b73ffe2edb60c359df474d6234167683b
c1968bd6466f33d23f0ae9166fee86b7c0987b7ff25ff4b70c50b68ed6dc8416
98ae07fa2c2958347eb856c910c0699e201e61084ee8544bfc939f1b1a6de2b9
cc2b07595c5dcfb958e178527d5e8f9e681d89ab3125bb0706d9bdbf10341bb6
0664ca2275edbd252fdcf263e35bfa92a77c9efe36b65bd659400c1b0cf788d6
b867e7cf30c0aa412d460ac5df7f8dfb6fc2b9698c523103df277c35caaef3ef
49bde1c80351816c2a5e5f4d1adfc820c14f506ed0a3482459528c2fe62b3ba2
d73be9210a92fb32097a8c2f4496e70c1bfbcbb30739a1104d8ec9d70080e0ce
857e2b2d0a18f78edc77253f4d0fc46efb56207dcdd889540d6b4a13dd078e75
c7f5903ba41003a7ed58103bade0b90e8f68bffc2c4fc1045de35e6e12eac97b
b8b393d12a7e507974c9e8f1460937c6478cfa88b8e01b50022a18379ccdd45b
f70dd6f55428fa489a092b534dfcc641bd4ca8cc2c974c2e414a6ef02ddd7bca
1802597955551e1a34d3678dd697f868899a73b7dfe71d3ec587730daa9a41e8
7350573b17652d5d4ef10b0cb22fa3aa6c983d1cca079e886773169171ad10ef
b5a435bd9b3d5cd0ab08fb1b8465e68b5e0ebbf6f048d7f72ef22c8ff75de68d
ba5f461f81e1214b2a6fc8909ad730e7b43acb54cce4558ac271eb9d2155feba
bcf04952d1fc3f14c719a3892a08e11b27945a1909e86fc814afa65e67b042a2
4abb71c4afecf5ab5106690aea017a79f39b3f8befc7da9099deb504b546be91
4bb0d4fac170af23d99783faa838121bfb6adb718b332b7b916757ff34c5b997
98abfda2e65edead79ef433f663473c362e9a329d68ea6da0245288fc9c85aef
298cc4c9b933e033cd470f7d427b5a46023f89bce41d6a0f1607063e791bed6b
db38c3cf9466a8ee5bd4b41d8b248c4d045dcb2a28166eced4092d964a1339c4
db860bb6da3225641dcd20b089da86bbbb4cf2d2c89a6f2ff76cd3c5a76017ff
1dd4d584f32cdbfaa5fdb0797f0fbf9e8509939a4f959735aa7ccd73a976ab73
4261272a0c4fdcb0b5a0ecc0c2bdc5a7ee92c975fb64df8e503d0f3b8e33b7ca
9ad7ab15bc18921f4d9c66ffc81d42b03c1d3eaa18942d91c9d6268e392c42cb
6a6ea853ff5b59b589c3bffb5cc8cefff049bfb2e62f96375c673c6761b436b8
f8eb9decdbbe8cb29736a2462111800955c10fb703e1a19c2949f9b501df99d9
f3cdb52c0f6d06b65733873db3b2e955f86be6ccd345f7fadbb0e164c6a9ca1b
0f9c63147569243acc6a79148c80f0343bd4515a181b76dea082062c09c4ae29
4077c172b622174323b253ff8ce5a917d8e354d0a6bdfbd20cce8e626a134c87
43dd812f1408246270421f628c754b6742cf24fcf0ca6f700743ea3c523152e7
18b5fde187f321ddc3a8f4a84adfab74573ee8109fca026dec5aa77c2ddaddfd
39d2f7a4da6be9f6645555d74a7919d4869084425658de599e9ea4e1cb59a07e
01e6a29c67209fff477fa0c7b3fa4323493001c5e213fc27c337d9038c4ae7d2
1816eb801fac06e94744b6aa2ebcb1a246e6dbf649cbac451eeb56fd28b44371
3aea16672c42490a2e0fca07e49137ce8fd5b31bdb41e0ec761cd25e234ce80e
3322b9e7b6033f0f5e75a2a351ec3acc89566af33dcdb4088b63c2d190591df6
14575b7ad943feb270d17c085035d7a8f4868df757891d115eddf660b24ca070
b943274c6e43b367a263ba3ae412df339d278d803792d9f24446610b3d75d99e
3de9c88b58fd5742239d12c9718601bb818928f64232b3b692405d34f1fb41ee
44dc62e8306e19c0f03da86d24b081a4ecb1bf8a3ce5a9a6c404118a33b7b88a
4c930c91f103fc6da8e98c36c2bbe73d52eddb81e767db8ee52b31d434d90503
ede9dea32ce9a76c2dcafa2fa7e0c945c14fcad474bb0f17e1dc5fe66d949c6b
3f2159a4dca0be04b92bc8b0e75141605573f029ef25f2866723766e3d67b10d
084fb31b336c1cde2b306cc0ef267bef3ee0ebe98fc4ce63af65b8a88a405827
d3facd06cba97a1e5417bfec468fafb5773b898c687639f323470aef4ca3e84e
ec03c8da04ddd2f0be3a44fd2fed31fec74ac48f5d421bcd9e760fe93e317cae
03964470eabe2d81b66c2b048bd797da3175673863edc2f66390ba18ede2352c
a7e91ac2ae79cddd545fae73ed8c39af5a9b03a15d92174bfe3efb4a1fafcf67
6f8e0e45632cc90869930a4d2d9da36540b9af1a946a1fa4faac3b310e815932
ad95ab921f7c1d561f65dd37eed544c00e7c0d003475feeae40b3dcedee4913e
a6378d8a1251f3fb1e2f6148a9767529fe9eaed0d44572b958fd37c64c3feab7
"