void-packages/srcpkgs/firefox-i18n/template

216 lines
8.0 KiB
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=33.0.2
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"'
'as "Assamese"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cs "Czech"'
'csb "Kashubian"'
'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="
a30bd561c11b359e100884716759d8703d6a9fc2abdfd0d19776204d4c923a65
b42bf5504fa02358572b6af4809bbdbf12c3a1fbfb66deb321b9537c28c31353
27c710cbb658919521d72daff2520fd741da56c56f179e45d7f7e0f14168cb47
acb5d08da1d98d7d59aeff8b873562b8495eeb88ae92a4aa6388dd67e48c40d4
dc7ed3137f0cc1ed4140aa5d315102ec8f9b023942fac4e9a6551866274eef5c
018b5ca5eb78ac5341fb942592a665bee1f9287eb74d1388759d52792691703d
d202399cc3f0eedae9ddc19c3109c51338e283939f3794b94c73bb6e77158e3e
c3a559b1bb4913d949f71bb120b678dd940b49caf0f0f1f9fd7490f5375d6103
4526c2b0123eadc6130bbf0c0aa7796da7e16b0b3ec365b6e1807ba2530ac2da
ecc9737fb1a0af56e209cb1d4d73447a8966da01fe7c5ee2129e33b46ce658a3
3426cbd15fea6eb57a19f9c8fd559341737404278ba18c0fc941a6f0afcf8193
893a1cde7a44ada7e2dc4f36d1be7cb7b0e10015403f02f5a1ea53a436454fac
421a1066fbd0394a4b0c24d91e1f185da912405bacb3335e14dce966acc4edaa
98619242c135aab70c2bc95f57cd900ce95ef662e9ba596db19ba8e2c202bf4e
0e07b8def4adfc9833ae25015525cbbadd9254d18fc4c8f6f1cc2df9dc19a5b0
6304d3f8f1d2e278cbd0c9f163e7958a2f43be0fe9bca43780ce6686fc36efce
6ed6e9bae7a01a910c6064e26f0e2fac26b8210647d42d02283baa09bad288ce
afdf844cc6f049c469df77a4c02baa7c27274ff706f2647737094737876af53e
fa46eca31b8c32cc02b747717635c8067e3ed010b226685bb0909c7d332c1355
306e1b61e99b2e49c8e3dc30d699acb4d1d278d2d2bd2bdf0c94a6c2026e90fa
e8ddc55c89064aaee6debbde0e673f1d6861aad8919d9a08d85f57a342838a49
acdd2007755fdc07a23a9d04c6765eeb90f63c7d959b83a3ec1cf4cdf47c2524
e8e7bc9e126b254215115610c5cbc9fdf922119fbb4af7f6efa7aba7c430af74
3a389560fddeab592a6c04c968e0973bedc415c77a4a619390411c18cd224c39
adf800eac52774843ac7bbd68e224875d2355c5db869af26a76eadc7b4a8ca26
a2e02bf156d752ab6f99de157ad940aa692362935da1898c5f1d2ec46c387b82
728f904a8631e0a9f0f0efb35175a63a8d9f933d0c354b324b911998c84373a6
d69efd15a155e9c78a40a719f991c8682a8c76f27ed01a30e49dd9728a7fa179
6c8b409ee3f21fbde3fa548b146c76b0955e2da3d551f61a322d88d81de2b036
b153e8eabe397bb570062497080f530020a811a95d5f4821834cf14cf0158d2b
9b9f84b704384bf87b27e4a6288565c3c3246bf0126f4ecc5b511ffe53a125b4
1f9df5de2d681809b12166d71ed831a3fbb82887212ea44260973f7a8f611b85
5d52aa7f2d1cf7af88f30dcbf086c32f8cebecc0abee3460d03048a93a59b36b
5457f34a3bb02cd6e3f1130fc6caab073fff9e826598fbf6d998bf15d697c5ee
551533beb10e1c8189ebe1654402ad22e81825b2b42141ac943d2d7dbf1b7b63
cd836bdadd0c7228919efb018c5bad64d8041d5533332210cf4abeebc1fd99db
2d384815bf5551c810adea18c284d664ea658d61cf0768ad8a2a1f65b3cb8b3a
0c44c40831035ed400e67e3de4012c3f912369e53a54dcb40e28ce1dfb0f6175
02f02a512bb94fc60705e998493d2ccb886c8f0598f6b516a37da1a2b56f6cd6
dc0fbaa53d4ecd17fcead1ce4a19e6e854cd1966fc1ded2638e769d7984b4d9c
f4feb8cacb77b5404b9a7fa0bcb40b8718c40b613249e29f57ade1dadc4f7194
69258a2b1fd8482450f5a18929203d97b847e63e4b2bc58450df14cbf709b6ca
6e19efdef6623d904d6d5276e1b9040f0c176947c07481e0893d19765b4572b3
141cba7d4bc919ae399ac1b43abce1885c83317666fb683212cca8ff1a94526e
936dedf7e5c9e52cd0bff97be861beb46758836ac9e75230b4134aa98a9530d1
b83ae6e87eb43163222e0d5d3da13dd14d588d1de1f7a7b7530b329088056b6d
86120fca0480a478a330687d0c12f418f2c5b71262b6087b8a3b57da24bb7678
a4c99fe9a72dd2432a60b65f213cd3d64202776b923ca0b3eb2e640285a506d4
4a0a8ebe32c08558b63789c40e715701180a3c175e29b50ad79cf1c640a6d43d
d11361d3c7d3c162431dbb23a216e4a7250d4cf0a9e14d72a3d4e276198dc610
49ab2f2e304f096c56f232e3a6a1dfe691141fa8c141bd7179b53523d535f2f9
a16d115c127c31854de932f5f97c04999d4240719ba2ce94c08cd78220bc8417
b6dc7dc2b5fb27105decfc2de30ba934b9a6940698649309871e7710fb7bc34e
db195b3354da3bcdf4e821a6c13af1cfa9edd0a8ff1151ce8fb8edd0a46d8e27
4e8a2a48ef02a8d8a7cb3bebf3d7f71e1b31c1a5e19f4db697d0f5991ccdf50e
a1e0c13c498f8fe8563a4dc68aaa0714d58b3601bf7561ac6c097deb56488930
56488264008427c0024bcec77bbd1bcbec1bb370b8db8f268d4d0fb9040ed5bd
16858d069b2bb16e8ab381507b7459747d3d15de5d18b0e2e4edf69d3d6a9015
53ac44d1eb461ccb0082a35ba88420242b761026daf0d19d56da5c2c76409a2c
4bffc1e81c2f6248684c64ef7ceb9317f717e67edb4e531e25c1834ba1572ce5
f062bb8d2ca802528b5e6bc0161336cf1dbef78ffad842b7428a7af0118abfb0
cc5b6768b7912b717335904f77ca21c9f1c7ff4bf1282db16fe910ca4b3e740b
b812cd2602dba266b4372fbbf5bf21884de02e710c07c52e2132fd4d4f71fb06
76f16f2fd1566fbdc25535723a53571d9cf527e9211d66eee35a9613904836c7
b9b2911c4c1f1aa0cef7fe91e3a431d0ad3b12569b1d917a62055de1beedac13
ce3662d3996eec4388e2b180c44d13d1dcbfde4f13e08fce2b81d84185022229
cecb1833cb8a3b963f1bf075f9bc911fbbbe86ae8b8c1e16a947149639957141
6a08d721982d6f599acd92f111ab80d223dfe40bb690d88d41dfc7d42fc2521c
55a5549659a52e9727234f95f17c350373d08a6a32f93865f833f34e7ec7617e
bfb8c803775ce417dca01f45f3dc090226e19cbff3ef2b74ac07711815934db1
ac15752a9d93a3d4e98e4cd13ddd366e6f7db59a4abc333a25624cf58b01f6db
ed6909492afc07228cca312e76a7be85313a59f222c6c3a7cc58b8a81bba45ed
71809807b1f065205e0f4ade0658cd6892380cb38859da513d80ceb51209b62b
9585d5f930ff1bcc27494bc4a8bc4d4b2d5c7ac42bf4f3aa29cf3613e0a8d99d
4cdd4b91ab58d9b680212af8b0a2018472c5f4ce64589924567bdc96b4437408
4c83bcf87d2038f87bac661c699736046617bf994019311d338b838142b0e004
3fa3c5f3770ea301813d032bce2d58ef99ae8abb825497d85640a641e116097f
24497365da1cb45f2bc0a60edd4b94491bc94b5e0fb37713f69e9d0fe01fd1df
800d0421771e694b3e27e91d05bd68fffb23be55dc2a5da4763489aba2c11b3b
44388f5a5e0d91bcdbd9e5eda909d34ce0d892749c2441f3dd196e1b62a247c1
306f28bbb99479ab1949c3716195541e156d1ca22678a0e02595e802f189c490
d1b378156f638fd8df761bc840bc3ad31a2e687d66382cf2892f541716b910bd
55c638fdb0aa32a9d2d9108f9199b0d16f317f7a41dbe18cbcb457afea9a74cd
"