blob: 0f9ac778f6f9da2c5034e236bc16612567f7b4c4 (
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
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
# Maintainer: Márcio Silva <coadde@lavabit.com>
# Maintainer: André Silva <emulatorman@lavabit.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=19.0
_debrel=1
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
_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=iceweasel-l10n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
pkgver=$_debver.$_debrel
pkgrel=1
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
url="http://www.geticeweasel.org/"
license=('MPL' 'GPL')
depends=("iceweasel-libre>=$pkgver")
makedepends=('unzip' 'zip')
source=('region.properties')
for lang in ${_langpacks[@]}
do
source+=("${_debrepo}/`debfile ${_debname}`-l10n-$(echo $lang | tr A-Z a-z)_${_debver}-${_debrel}_all.deb")
done
_path="/usr/lib/iceweasel/extensions"
build() {
cd "${srcdir}"
for f in *.deb
do
bsdtar xf $f
bsdtar xf data.tar.xz
done
cd $srcdir/$_path
for i in ${_langpacks[@]}
do
cd $srcdir/$_path
unzip -q langpack-$i@iceweasel.mozilla.org.xpi -d $i
rm langpack-$i@iceweasel.mozilla.org.xpi
install -Dm644 $srcdir/region.properties $i/chrome/$i/locale/browser-region
cd $i
zip -q -r $srcdir/$_path/langpack-$i@iceweasel.mozilla.org.xpi .
done
cd $srcdir
}
for lang in ${_langpacks[@]}
do
eval "
package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() {
replaces=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
conflicts=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z))
provides=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(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=('e88728730ecf9f0f145de5f70e362b15'
'5f91205d41a4622848e61bee463f14a1'
'e29da15887bb4ab2b569c5c4dd776a25'
'7b76f37c83a29b64749cdc22c5165631'
'b42eef799d2a6366dd692c94a7ba51b8'
'dfe01c69b2cbc023b68a8c25c1bf7157'
'8b6552b43d28b8350fe01211282a0229'
'c17ca1f4717d1e146851a710a4e11274'
'fde45fc9ad84a52a9f8d951f1962d29f'
'52c891a254642c6c57126b8466b55550'
'bf1766232a1147d7b3568ade32072f06'
'b19a611ee8613b7f47c4f0332e22189c'
'741639df355a097d09abae26b0ad629b'
'9f169c89de5585650f49f35d9c4c00e3'
'd9bb7bc325a92068a4a76f69a1809bec'
'd06e345a17c93cd5aa1374e0a003be0d'
'526c59a51339d48cab15fb15d2df64b5'
'f2184c754da3f8e32ca787492eb9e81f'
'1c896e6053cae3dedbd9937aa756acb3'
'0d6cdeedaf9f50b8682b2d8c4f3950c1'
'517a64f66815fa0ae5fe79b78d95a8a5'
'9adeb6a16fa7f5c1d6e682a439f8d7c8'
'c360a362b3c5f5b4dea198e8cdc58972'
'6724054975b42fa3d9ac850b435dfd69'
'7da94918a235f2fad8e3aac43cb26c03'
'36d880377ecd705a682bba4d184d29fd'
'50cc39790a2426fa1354b6a45eeb2db7'
'89551bdaf4f4c068e5e7e200541fee0e'
'5a71a10f64314d6301cde382728a41e2'
'9c771c75fd04926141c22ab283c51fb8'
'7ab22ad07dfb36ff6f4549f3c006b817'
'582e28127177c34367b1bbafcc166827'
'd43ed904112b49a8a5b0bf822e95380f'
'eb57146f92399128c89d36fdb4424926'
'c0d97d469bffc37fa6fc0daeb23b1b26'
'067fc480ce411badf73a88e47681006b'
'63aaf6e27a6baf8f0b583b36c9b03d13'
'0effaa9e694c7af1a180627e5e74f8e4'
'4afeba0fa219ad7550e31f19edd4954b'
'1332c01febcfc25178832c8a787dd275'
'59763805b37328a4a35720e26b2aad3d'
'a999f9794c15c0610cde1ca80c946b56'
'e69f93aa1714cb299ac3fe2f757b5da3'
'4994b7840835108be65f5311f92289ff'
'74fa9ba4c7985d1c977a532b33784dfc'
'a86f218b4ee854253c59a470e2abb1e4'
'347c714fa7ebf1cab9fa1b826e6de5ad'
'7308fdb420dc5fd1b94063f0c4f7e5a6'
'368cd804b844834dda83cfc802dd6453'
'cbdd02277f61f778c95fd9fcc68fe878'
'5e88de028b72b6fa7c06d46a162c0861'
'26f0434e5e874e10db7afc36e7d0f63a'
'9f6d1ee3f20cea4a8e36fdb1e6276453'
'04b6e81adb4d9dfb609ebfca02c4dd86'
'e4eb34249d58130caca84f7055f299c7'
'36122eaa69639618b8751c82a74b7201'
'2427c7e40800098fc46aad1860e42ee8'
'f6dfbe879fbff17925795a86d1ae9a1a'
'178b26febee5f8c38cf1fee6e746f137'
'27268b250095ff1b8caa8e6d68430019'
'09f4eef9f51966142bc9d1f1ff887b5c'
'4b1398a607dec42ed99f6fae77acea57'
'b1299e6cf360af3802a1ea3552914cc9'
'c1baa88171934c561599f4d88739abe9'
'10f6a7fd51c0ddf3b08831fdbc307768'
'437a944516230463ce751bcfae379c6d'
'd42385fb8538a655a181e7272f958597'
'c12e192bc0e1b177f142bac914f422f3'
'2338bf2bc46a89f2057f2e271ed72487'
'928f1fe43d3179b83bb4219311e1b5e5'
'2b0d3bcccf7e8ebbf214248e88b3fbde'
'bd5ed51ea0b44cc8c9034214d31eea23'
'ee883df4c4847c34ae15e1ce9e18a160'
'bb57f5e8bd20a5f516e8a682a1474dcf'
'6d2f66384f38318c41e19c2d9bf164b2'
'68f0d3236cdd7b6a6dda89d42330570a'
'b181059e92f5ec62473710ad0313036b'
'602a7a4bec1702702b84d7c6aa64fc7b'
'3f4fc8c2ecd68a093f56619579ea4117'
'41cfc1edf0f4da00ee5a6e77cc49648c'
'71c9972d84bab5308c4c48ab620c82bb'
'89a12ce1e546cbf4258786b68862d8ed'
'fc2a6dd3845adbe1c0e4e11906e7aba1'
'c04628631d0990c622abd74012340e03'
'93d3fade386575e8c076bfa7241d4968'
'61a7451fba8a19370f0c3b2dca29c1d1'
'39259a63970379d04c0b234a9616f13d'
'16841d5e8539df48ce22ca2c812a3e0e'
'f1c7c1f2e242f22e42cc2858a6f86bde')
|