blob: a5c70ec7b2f021e3153fd65754ca7875d51df20b (
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
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
# Based on icecat-i18n package, which is in turn based on firefox-i18n
# 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.
_debname=iceweasel
_debver=15.0
_debrel=1
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
_langpacks=(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-LK ta te th tr uk vi zh-CN zh-TW zu)
pkgbase=iceweasel-i18n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
_pkgver=15.0
pkgver=${_debver}.${_debrel}
pkgrel=1
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
url="http://www.geticeweasel.org/"
license=('MPL')
depends=("iceweasel-libre>=$_pkgver")
source=()
for lang in ${_langpacks[@]}
do
source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel}_all.deb")
done
build() {
cd "${srcdir}"
for f in *.deb
do
bsdtar xf $f
bsdtar xf data.tar.gz
done
}
_path="/usr/lib/iceweasel/extensions"
for lang in ${_langpacks[@]}
do
eval "
package_iceweasel-i18n-$(echo $lang | tr A-Z a-z)() {
install -Dm644 \"\$srcdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\"
}
"
done
md5sums=('41a9b0d39466ec63707c77feb010f97c'
'a868d76268f52f911683dce647af46b5'
'9eec699d60ca812ffbbf5939522b8393'
'388f4fbbe2266ba7b4896075c2bdbaef'
'c64bc2261a3a5767f714a460255b15d5'
'2fc0a0395c1d92dd2529291258b7240b'
'0f59e1738c1b37d54b3bb05c2f7853a3'
'68ebd3ec4fc55187dafbfe599f62112e'
'be4852fbb9c11b36648205f8f1f6cbd1'
'e68a36c7cefc90e3c61f7d134bb838c7'
'd242789df2d520b65fc88c1d3df0eae0'
'e6c527cde3251a8409f16ea0bb278b03'
'beeba513659afd8e0887a44a9cc44a57'
'e8f4d9eee6eb1c270f99ddf08359c672'
'618fa08cfbe2ff33581ace766b2828fb'
'0d31f1a718ed91b6b1df885b205c7a75'
'd823ae880fb0a193d107bc9546206299'
'4c446ef16e61f335f93eace4251f5d8c'
'2129b44ef2edd6223ff731e05aae5112'
'ca4b27e3b8b9235235b0c59e7fb5e343'
'ce2f7887eb064983923d917b094d14c2'
'8a5b6b934eb27b706aa52945256f32cf'
'd6396fe6459c597572a10d1e02f195eb'
'78281b9ebd8a78f37ff6a8af07518cb7'
'36add693276f7d5c73f59e927d4645e4'
'93cafe70ca3b3b36ba0a56b4b4b4a7f9'
'6d911ee10f75ad316861ee6b8c435887'
'ccd8d4f9ed54aa56e728508e42ec3538'
'4ef4fb5ef6b814bb414e4fed06ca7b14'
'7b49e8f2479c32c9435151a8e139f411'
'4f5974e5d1ec83a598892b729bbca5dc'
'3caf262ec4e12a3166cccbf2e163ec82'
'eb4be46606957c856cf5d87c337184ca'
'45001918dacec18fb0db953c56e04032'
'766c6f9a84f6930317603d2014bd0a84'
'bfe20727eb714f616c4a5cdee7300584'
'fc6701b477ad209a3edb1429b529027f'
'5fb299bd54fd3fa10cf91d88d77df4e0'
'3b1988b200c303747aebfde97cb9333d'
'79bd597a764676dd1fddcf5e0a2aa646'
'9f63e8b4493063c770b835e80f883b66'
'e9524c247402faaa8b767a93a5e5773a'
'457ae04a4f7437c0b16d1c021be71574'
'77828bdeef9d6e9b78719be537cb0491'
'4bb2c8bd527aed47ef0c50b3861fb2a4'
'4d94a161e882de38616c8344d1d2994a'
'098f4d49f2335cab2a5070c35d5f69e4'
'0deda71dbfb0b07b378de1de9209e047'
'331fab3aae394ef3a3674f4582d0b538'
'4daa8de8b393385d03379ed49b421bb3'
'60534b0e61dd9499ddb3ff3a29026b2f'
'519299dfc4764e987ece840b630fa8c9'
'a13a1bc158353eadedd4d9a22f7a78fd'
'39804bd399a955cde36db0e7bfc0afd2'
'1c24d64463fb742fddb438939302a770'
'a3246566714da549faaefed6a082747e'
'7d06acae2f3a3bc15344502cdef25bf0'
'68b3f9e98df3ddcca5458695297a6581'
'6cc30b2ec4e75c45a41bcd328385e285'
'a0df4e646a376f8dce539309a057c340'
'8745389d916b522df730ea457fcc7b20'
'4982a6a88b3bf883b21633e3561a41d7'
'41ddec979a26c2fd6b212285cfa26b3c'
'7ac36674bd749e11c2a28cb646ed420c'
'ba855d101c76ead73e7d4d7a74839a2b'
'4f2abadda53b3f0c0eeeb2bbefc96991'
'67e448c17a2ee9f981743427e6e69d69'
'90a365963d579ecb9d2681f0510b665f'
'92d635cf265e0eec023d80034b0d1cd0'
'edd7160a59c4210b64bd384ee3196f76'
'cd3c038c61d7ce643a01808ed88d92d0'
'e5e07573a583ffc660f6ec846658b266'
'99e79e501170ca8a452d25eed5cfeab6'
'dd6e06943820e0731d3b1697ac12d353'
'c263cdeff3879481dc6b7cf44df9364a'
'3656bf7eba6a1042f3fa19c8cb494339'
'923313a52e0bf228fe2d41345401b296'
'1ba11249737fc1e2e61952e17fe764ec'
'8103d1b2f18f25df4b7702e3f1fc23ef'
'5d9cdf21c5bbd7bab97b10d9784f538e'
'4c032777e914f0e30cfeb2d1627f2b14'
'45a462e14b8e2c44d064f4bb6dffd3f5'
'075d374f6ee205df5b0f56629c0234fa'
'49517a540428d07cbf6809d96eecdd85'
'60f7b29f1325a6de41c45af2cb2423ba'
'8a000cb0afcb6655f7c626c05a313873'
'90e94eef2a30d9c20ecb0103d0203981')
|