blob: a64ce9a1e8bac5cd388cfa08850d478ade099dea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Based on firefox-i18n package
# When updating to a newer upstream release:
# - Edit variables in in Makefile.
# - (optionally) edit PKGBUILD.in
# - Run 'make'. It will take care of everything else for you.
_langpacks=(ach af ak ar as ast be bg bn-BD bn-IN br bs ca cs csb cy da de el en-GB en-ZA eo es-AR es-CL es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk km kn ko ku lg lij lt lv mai mk ml mr nb-NO nl nn-NO nso or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta ta-LK te th tr uk vi zh-CN zh-TW zu)
pkgbase=icecat-l10n
pkgname=(
$(for lang in ${_langpacks[@]}
do echo icecat-l10n-$lang | tr A-Z a-z
done)
)
pkgver=24.0
pkgrel=1
pkgdesc='Language packs for GNU IceCat.'
arch=(
any
)
license=(
MPL GPL
)
url=http://www.gnu.org/software/gnuzilla/
depends=(
${pkgbase%-l10n}=$pkgver
)
makedepends=(
unzip
zip
)
source=('region.properties')
# for lang in ${_langpacks[@]}
# do
# source+=(http://ftp.gnu.org/gnu/gnuzilla/lang/${pkgver::2}/$lang.xpi)
# done
for lang in ${_langpacks[@]}
do
source+=(http://mirror.lnx.im/icecat/langpacks/$pkgver/$lang.xpi)
done
noextract=(
$(for lang in ${_langpacks[@]}
do echo $lang.xpi
done)
)
_path=/usr/lib/${pkgbase%-l10n}/browser/extensions/
build() {
cd $srcdir
for i in ${_langpacks[@]}
do
cd $srcdir
unzip -q $i.xpi -d $i
install -Dm644 $srcdir/region.properties $i/browser/chrome/$i/locale/browser-region
cd $i
zip -q -r $srcdir/langpack-$i@firefox.mozilla.org.xpi .
done
cd $srcdir
}
for lang in ${_langpacks[@]}
do
eval "
package_icecat-l10n-$(echo $lang | tr A-Z a-z) () {
replaces=(icecat-i18n-$(echo $lang | tr A-Z a-z))
conflicts=(icecat-i18n-$(echo $lang | tr A-Z a-z))
provides=(icecat-i18n-$(echo $lang | tr A-Z a-z))
install -Dm644 \"\$srcdir/langpack-$lang@firefox.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@firefox.mozilla.org.xpi\"
}
"
done
sha512sums=('b6ddcf75c0ff8c542851be45147dfe22c1a73c5e4dd59ce6543d5a3e7bba70be3576bd280cbe53f479bfdf5c3839561484b0f9e93ca061bae9ff25990a7e899b'
'ccbc42363a5c0927404175d1d2abd1a039582789464e3533ea018055594522d25bb78cddb587c3d97f6747683e57a3f8ef387352756574f70aeef007bdb48e43'
'102c77a69adee2132e063a8d831cc0876b184100a36cd2a8a34be80cdbd4c9a5db2490d01b0329725fe4077b8be71c684f57fb71131bec35a1d2bc06570d09bd'
'0c6852c488ae71bf84b0cf09e605aaa6d465f67a81fbe6a0a608a63c413d2574b059e8596fbd3476b4c247246ef0600eaee9e5e514c5beea5306ed94d685111a'
'78eaed8c944ddf9ed2eed1165f2d55da4835aa31dd9e541017b528ee065f01907ac2538e7c2995ae7df9878c4395659431ac6ebcb63eec06f1dab0aa654b6f2c'
'56f5764051f9d2b1d6501d0c55953252359722fdef3364925275d890ac0eaec64c7d3f5ab674591217113f67041b6558dbec7448a172ee1a3d0e6728dc82e6dc'
'35c3c2bf8df1821fe7e88d3a25e1d05780c3376349c6d2ef5102016bc8f3dd5b474dbdff567f8eb81f01e9ead80ea251d8d0a97c1eaf378e8182d499e4163d1b'
'1ec2afe2877cd6237bec7edc9474d9f53410fe6bc401e5f22c8fe1545b3349ce2d273c8b926fe2e49d742a366d520d494b09a29b8103194ef43f255ab5c72cf1'
'16e7e18ed3a549767128e88edce8bc5510e609e61c016b7ae472cd292129f1a97a9bab6d71c85acb2a8999ae69ae00cdf74d7b0661062f843c693fcfb3c61cf3'
'f06e6d5a54ff1e02bb8ade7b52f229e1fc686b3e783f8409563698293bc97431b08c28fc33490617a6e97187f0bd25297ab41339cd55a6db5d419b912f110742'
'2132a6609004ae4362819d4a32c9db64edc94b5fad6902bf6c0a91e8c77828d028fd2444c7173ba5e35b2925e34d6914d788b9f2572f07c71605a21ed6f3e2d6'
'c6a43b119d720784d4757ff10e21d161689fd538869bdc28af161a244eee602aba9ed5089a8f3ccbdcd2339e756543f3f636adc235a0a1136edc144ddfccc045'
'73b332b86150b3acb163b7e438e4fd84fadddfa284619bd4664ce235d3979a2ad548f56b31a60af45b5005b6eef58d3177b9d343f829ff630dc7c892d73069c7'
'30ee0d37261826727003292434f94606d83f56933ff45a78e26160c32fb360752ca3a46a225b63e46f6091a7f4be7bc8ccce01e4af6d03e3d955e107df3dc192'
'36bf0085d7e1751a3845afffbc48bdfe97fee324ad373a24515e2278e9863f1fccead5cfd3dcc4257c68a6ee571f74b5d564496a7c859e8d2708db4f3dbc0e2c'
'79315feb9f32c6ef2b879902db479f9641ccace17f4aecc2d8e60d2758cddb739aecc1cedc168361ca5013afcbc65552227861c9890da6fefc52578bfa071f02'
'f092ce7de320fa4197039c727471b3485ecb58b21789e17d91f78c00eb294f5d59cc30d9c12dde56f1423517a2dd0d376ccdecd4a20f6ee429bc8d68abe6c58c'
'ac64bd3ef7d8bbc34a75d8769f7d167367913dcd48037344f4bd1664a20d0d957da5b4259f14c1bb1039e1700fcd911ebd363db51d77a058af97f319f3cf37af'
'762b19770395840066d7ed7a783737ae2b7441acda2b81a43ee660dc73f349016c5c0d76eedd7770179adc98855e9f8c4fc7c07f34aa226a6c0ac873bb2c9199'
'4eada162fd7356a75463d6a3f6e9a85348f578152be7ba8ebc7f720c89441be1c5cf1d1ecb87bac07fb5d58d144a62d89610f01e76fdac960e6452ad14b48640'
'd9004ddf736a599791516bda109641dc73f3c0cd75c57f4dc0f4eb38af7edd4c43cd679affdd787ce90c620eedeee4d4b57daf566ff45abe5296711bdbd361ef'
'28b64dcec6f5b80962c40e3ab24dd9e025292824e77421db415022619d1e93f59ef4e3bebf2d99aafffb7dded9d50b0a8828368dea1fd349cffac870293d547f'
'f9a0a0528f9e9eada477b9025b5ada3b331dccb9b813b8d6de8795888f8c2ba5ca83224b66c7bbc6b628bc5ddce412d02fdce13bb02cebd0368ed326fd985455'
'2eb64ec09e717c2bcff31972879cf5f4f38bedfd6c7e104c9f60c6112a0b66ca0b2a8bfb6e1fb8b0b917dd742e6a0294c7e63d950396938880fa2a08780028fe'
'de39689bcaaaad0d091cb629c8ffcc3d547e38cc18803a523e4dfd19261a73369d05dc516f9fd070416656f0b8525b2167a1a91e1f52dee566afbbde67546dad'
'5710bd570db458d7f380d1ef67f6916ae8b5aa168fef6148f8c9939eb0cf891d7c231baf7b82d3a929100ecdfb41f1697463493279d85782ae20ae8e1f723f27'
'dc81b95d5c0288b7b18f6b83385b5841f53be315d00283f7bbbda10546ddd1c6da8962cbcd17cdad596b80792430b9e370bd7504396148e9f3b7ecf6b67a3fb8'
'f99bf5afe15f8160c013aa61e117480962b41e3f07558479949e47a78deddd30e5edab92fbb95fe9fc5691cc758e4cd677db77438169db9b728ec859d0ea9be9'
'3876d605a77ba69a5c465b323af11bf465b5d3018a73d9abe3967d2efb581db44cdcfc1c3882b057f0341ff2c4a0f4a47644d621dbb82600d971b9fadc308c07'
'eb6a2f1c3cec49b87d3589d30e47fba7f5bb7988a9fea9c453c001a0b6b7efaab537eeb775beaf9340836a505141654f908880b2b87d017c3ea10df270e2bb08'
'15b55e38071b055b415a35ea6b01d62967e716f05a77d3cf0ca4579526705d8d95418517c62629a2c8bf2a4d4bd164bb562053bd062920327c7f46d6ecadb258'
'baf7e9d95af4a10460c2181b0e061477d19dcbd1f7ea07fcf57826663fd4bf289a44870f9f1e0b87491bbdf8c98e9c8cffc1166fbd85738e81fabca5ae2cbde1'
'63195a49b46a36281bcc8929bf60330bf71e0df573bcb84e88168785131f2a686d92a5d4cf0dbceeca8b98ad8b965614db519775ebb4201fb36d21aa63740acd'
'799c78a46d3e0f680530512296af06566c478b39036f5368db4f1dbafd03753e22b8db787fc8f10e0956406fb2af20d235e4a2db230231c7523bc10a9d0eb608'
'06ce49ad0b1ea766e5d9b4098977cb98d9b07501ead5288c943bd4aa394300f9d7c540000b8b6501dac70aa0f07a0f34c12ef405e98d193a8ccd4fdfddaf0c76'
'b4295f5c8018852ef99b704d976c72c0d6b1a1296a88ea8aa5a20afc2612ad5f6e7cafc78fef1b5efcc3a09a11a8f929fbdfa5f927fdfd1a237786ee23ea0890'
'41af25a045833fad8a2df8682466ea39278e71b560e356557ab8b5aace8cb7294e7e8eb868ba817b5027ce86badeb53caeab4ad615fc9d6836bdaa8ddacf589a'
'6b86ed5850f0af5a8ab3e982d8e568b49eec7b0ea636793d83fbbd2da49e66ff42be3a4ba03da79c04b091dfb966c366a73683bf7f12dd6a87875b0137c781a5'
'7e244e0b924a6ec524a4a8aa8f100785ba2e7a9a76d879b44ba7ad0cc21bd28669099203e81c68ad205bb9a62e384178a2008a8bc2b81133589fe103d924e4a8'
'55f1bb499e89c8668674534a0b5455d7035ecf190030cb244c3e7ed5fa30dda362bf162aa888d224fe8bfe6a2dac1bdb5fa37208b6613795bb0f6e1c7f328f9e'
'613fe8e67dff63acb99648b16c364df9ac9cd1000a694d4500dc3fa82ffa40a32664ec6af0ace72527358c54793819758f9db34864737dd24f568eecacc9d034'
'ef1f0f6c581a241d9641cfde319e3c827e6192b24848f32729b46d042d81c5d38b63c390dd9f6de07b022a2af44675699304426d223facec574310f49310f3fa'
'bf83bdbf27fa98b9b2bd6e1975c2c9ed978cccf20e30e0bebce7db9f0175ef7e64826ec04eb156d3608514b238e42a48c02094404c49b3cd8d6e225bb7ac9289'
'30590eb19cf6b3bc91211054bac3b59b211c4f24985643ec441a62346b56964b3f3509d8c814345be812ad424b47d5feca29e904fda54f1ac0f41f38781c7484'
'089eefd02e48b87912e4f7ca6f59f202a4f70809b6dcaffdd626e01454788a1190c89529e6952b3b53738f1c33c6888ca696b0039f0fd2bf041c78fb20864c52'
'f542e6664dd496c02c0ed31ffcae98961a0b5eb09fb6253c0342161753e35b2abaa1d63da30b7b46ad76d1daa75b234e6d960725cc105f9ad5aa4952f0848411'
'f8345f06193913910530709a7c2f0db346bbcd8d61ab284cb148f0d79957a02a63cba29255eb9c07f8b0b78b509bc182c2e6621926c6e1ba2bc7d22b689b8823'
'0138d8102177e49810a7c870f642f00d967f50b6c67fb19031ab738a345bf54cf6d4301156a1e3848e301105ec5a23a3e8a086660a56b947da5fe49c0482de9d'
'eb6b299e8d449d8ee9b55737e6c8544a047fb6fe3712ee7af5ab170ebd2511fd68783f26e053dcbfc6b3e5499d49d0e5e40751b3d666eddf2d522fea52515449'
'3f3affc89f9882c551458fe7a1d6ceb88c3d306e6ea33d374330bd68e797210fd57c58a144c150c22bc9ba5d4d0a072e3547720990a46d511dd39582d3144256'
'e74551b7a0b983556dc0d6abc1cba0249592db640c1ebc1ca85fe16581c9270be164e0f03b6597b2442ffb25debc5fb5c9cbe2cfd4b496ef7aaab3b392a90af4'
'296953b90b1b0e997d6f26261895c41124f3994a324639631757ad4f929b90484d339d7c39b2bd61162962aa711a8fc3106e39d894484bc2c1a9aaa19d1ca527'
'2953a1e268b6daa5c975ae474c699d5d666e4038bf9c9ac9bc43cbcba8595d6ae2b9d7ee276dd5e7b8e5aa28748266881ab08cab6b7b82f0300544d9db41fad0'
'4db9a7557de060401e983bcb941c82de24d28a52735060b0d0635f74fd03691d50917911a0d37361155e8d046b4f1276b4572aa5f5ab1d93b8e427562cf8c5c3'
'f741090c6ceb77dd32c3e2f7ed3bb333404aa1baa3403c9ed2555ae460af2a35aee8bf78bcf0df6ab2e62c7fbe8994c99b3701a7686201a6b0aeb8759480f0ce'
'14dc9e7baea0e6a69c1c2eb4fe40d6e73176240e5188966a8e71e9f443c4a1314785b83725bf95138751d21f0c5528af485dd91e82a70e3247e031796cc9f674'
'9339f2dd572e4856d83d58cf430fccdb7402726ce8aad598bdae4dea5c44fab85fcb8a6e4662ffb291aba5239fa897ae7b2175d43c3924d9b655ab4aa07a5c12'
'b6ecce0111f7f19f66dbb5272642a1cb49ca86ad66986d8068d6f7ec57daca37fb4bf21091eb571369a9c13b2ad362c9268fb57ed746a4965ed3f1c2ceee0b7f'
'ccac4efb9f646991ae8edbc629286a443ace2526505de8940f1c689aa03e774b95354710c5cfc4437b05061f33e196f99deea9b9a4097bffe659fc44e81905db'
'6bf2e0a8184dda096e4756010854abe678716da2e67f305a74ee781f2fa530f131b69cdc0ad028d73de74af47a0c63d8dccd150d7f5c62c0fda117898667e8fc'
'3447315c1301eb5cfaf9b5ff2182b8ec59028edee886dc0d746d38d9118a8bbb12496c4c7b8ed0105b825a305357d69378c9ed81c219146a5369426af51bc89d'
'b642f47cf12951b471eb88a827b446b93bd5be2e4f48f79f063c158330e571c364ed99e9db52aa46c3fa4bf05ddd4a453c170251e78ffefc0231df8226b54fab'
'52627d61d3fddb87bbc9bd0ff9285c7a9e02dce5b581900b81b67da3e29c5348d27c39e617955d67429c2463f390aa7e1517f1c169c99968e165b95c4c1cd788'
'2106e376a6489d8f3c7ac8de416629c358700b2211003ed62304b9c807abf2874ef0fc302a2ddc365b78eeaaf96e18efdb2638df53d0bb17cb25547754001315'
'94602a30a47096ad5b513db79e0ff6f9ae772ce1615fe7a96b59bf5167ae9f51b062939318b07fe4112f61d21ddadd63403c501f28e6b05972b57e7bd6d1fc3d'
'8f00a33b2e4e3ca4e3b8ef2bf570b235c1adb9bafcff72e57075ac23d7bfb3c4251b789ff297c1db26c67cae9b5450deefaa1e29be5f800fb83556757e739aee'
'20e960e0f63b47edc11ab3dc7821148e87ddbe2862dcce88d6683c2a029d898d37f222aec0f0a74437d722eaca969735268c361e6f3fd1ea0abb20b648216ac3'
'7120185e1bd4651a9ea04b6df44a38a06983673289fd730b0bb01cd5e5421157f000b6fbaace5108bf27f3f481abdb25ae37cce429a4903343b1d4d7d26fc89f'
'd019d132fbccd949e3c3d1431af404c91a70f2e1ab8453d2c4d181d296a6c1e04faf33c8a40817214b3942e49362c213ddc0ef27ca28abe0a5207cf38c8f0cae'
'6043baa68dd7416d58a05f79dff945d686e43ecbcc6887d095b726863fcecd82ca44c443eb7418271a94d2500a6a7be3986be0845004faa7019ce85c78fbdc46'
'eda161269a3d765e8f7c459c801a614b18a0cec532fdd6adf39b8dceef4ab300302e89ee124369416117e87aa5c2702828ccd629703477cc8b43695ea60d3a25'
'120a98b28b14c4c3ebb65686a0e80b1c9055bf0b800c09b7abfb7a55b69040ecd582e068eb0330509bdd7b50ae1c4a2cad1497a9948104185903145e849cafe4'
'a53fc721cdb2359b353e118ed063a4450b9bac414e50c75229f805eeefabf50ba56e6750f7d8785e1a44305c1cb65937ce4807fbdc9b39fa190ee76212fcf83c'
'f10d6cfbebdaaf03147584a87d0d5a08e77b0708528b4936f1dfdd5a3b0586fc011ed55e79d3c9f852c8812f64f4bef4b44b4732bbdac91657f1b929041b008a'
'382aa46e2063d13cf0def1dbf3d975b7e46e5aa752549ed2a705b445c77e8cb2788c1a457bb6eb498b2b5c712d0ef577b83970dd366e6a0301c1406bd3bd453c'
'4e827413807cd1a751bd60cbf4f77b289883e88a4c76414ba6467dbc9c7b34397f2c8b2468b6ded8f96328d8fb5e3db022e14957329cb345c17ac80eee446196'
'59df71086abd10f71a2a90bb4fbcca16bb7d397c437d1fa3d30f8b20aa79aa4ce7373e57b7c0985356069e196106398a9084a0261d13bfc2d7361a62653e7d78'
'efe0bd64ad3b65a9371b11c7c8f7fd49fd64cabfc4a8c920f49da620bb96f4f884c7ff608d45df8e02c59050e7305d8746f3293720a22ff9dd5d42768a2b7c65'
'b9c5bc90c92aa09ebdc9755111ac77f823b1f25f329d68549731d24ad04aa748fcb721bee88827f98b90f4337e934cfd01be7a8f1b61f8b2d7c5e8ee99b33ca2'
'b0a10a75106b1932d0c9bbbde06410951758685693dfafe761c3460976a702b26739ca954c09983b9d00e89aa93ded4f3d9894640d0706902c15f626211185b5'
'3a5ae6dd61c11076bd4306a2a46215eef72398d6408bdad2d1df5544ba221820ed761ab4e070f7a04283b38489e9b59432857b24c8ec6b3fd963658dfe7ca37f'
'162ea29214d4a08861fcf1ac01ac1b3502947f93d8b7b15f1b547ad966b7394089731224b5cdab0351a63165673b60ca3b66af7051ce4ac3e6851e146e1c1390'
'52239d8a7eb7af80401399510cbc4988131ad2aecf1fe0990498e5e0c6e1002e95b36fc8b94463661083348c2967548983ad47ce6cc4081a39394f27478433c4'
'965ed8801d5c857f90734837afe9d9d8f4931dc1eafe7bdbcf5c73d003d00e9d9175970cfdf62acc325bd93229dfae276b6b2481b48ab2198aca4a5d701bf5e6'
'cd49326639793d6fd115ddd61d38606575d11bab6c6a9c123800d924e5e720ce9a102ee0bd8d3d3e9ee1a0700da1b5c9058760dce9b9c752cf19bc93e5137a7a'
'f93bc631c340ea0211ad66cf270cc749a4b5f771d7b4445cf17544c0274cb75ddfe9529ac33f9e2d0103604e6102b88445c725d5753b5634fabb5cfb1a5be7b9'
'ed99a68bc4d59376c292cddacd7666de7e622e1a1737fa0d560d186e07f196139416f44c9ae8aca4823d9251d98327acfc2dd9f7e2ac88884f6ca517b86940fa'
'220fa866daa4a691d8f785be4744dd7efa0f1fd96456cd64d3958afaf7d201028d11dca313a7943cc11098606be6dfb1b202d5f0e453868f71e1e17d7fa68905'
'2ba9cd3a40ce4fba8cbb09ccd09ca0f1ec1170927c7c019349620c047a852ef1c9acba06894c81b177a150d4f2429d048a48c79a132c17b2a66a52dc44f0b876')
|