blob: aac75c23c7b4f29f51d3651b7cb80cc872e8ad9a (
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
|
# 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=12.0
_debrel=3
_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 csb cs cy da de el en-GB en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk kn ko ku lg 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-i18n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
_pkgver=10.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=('fdc26152b54486a948a728661f8ab11e'
'e562af9f01291998b896bc53bf6aba16'
'9215e8243093ff847584ea8c7f1c7c83'
'3c5beb3d7b098e8c2fab538572025833'
'8e8f4c702dcf2fcbc674074d773fbd19'
'6325201c0f037e2b04f3b05bb0ed5d1e'
'3b1981500fb29c75ce133e0788a8b047'
'4fc0f63f4502a5199a22df393e1be70a'
'ae4e5d00352af74772667747196b042d'
'bc1c8e7c5f204190ea218c29401db904'
'8a874573c401104d48cb24da4598ffdb'
'a18d313752494bffc87a7b1c43190658'
'f6941a7750d79c3e109fbcbb8e8d556c'
'6f1c6511b7dbb4bb04426d1f2668c5db'
'9da2a35b8290cf464f64e85120155994'
'fb3d0941157fcecfda5357abf7f0306c'
'88c22e0ad3f8446cb28b456d926b6f25'
'1b9bb929cf423c86cddeafd82ff2157b'
'f11a3716a8bec5b47c49cced3bab2e0a'
'602a77c93492cd22125acb1a01c58ff7'
'4cfe91686b96158b03d2decccc1ee061'
'f29fc3ad3453ab7e7783e4efe7241e4a'
'5d0c0bc5b4ee5ff1f737ceee59bc58ac'
'0f92d7936c0c8d634fc34ecd9fa0c818'
'ebec0d2a3cb7f9009feeab04b85eb1e4'
'614b558dbb542e110e1c2e4b14fac68f'
'3c80e996a4fa346ead550f6c9b039b78'
'62d677645772fcb565d7c34637a04c1a'
'33bf6972e34f40ca895c972a6866bdf5'
'c5e56f7737ec87ed227b19ec552ab14f'
'2463810a14dc597e3a805a3ad3942052'
'18e02ba748af00e5e4a5af017f517dd1'
'7b1a880b3cbb3d16f93d52033a0f196a'
'f6d0bffdbe4b808ec4ee18b99ca931a2'
'9b7e3404aaf49a7a50d88945c38e1831'
'6187062347af3c308e345660e930b0fb'
'd6e3deb4973866203945db1dd7e43b9f'
'04b9c470aeb5ef80bf3436a7b38124bd'
'57fe3e895474d4227b118ac57a015db6'
'5abde249ab842e5a07fd453f738007a0'
'a5029e6616a915efba05b309ec3a1dd2'
'89fc0ad5223a865c2976278254e24669'
'cefe577c4968552e78c9e58c7c50df5b'
'2dd4d2dc18fcc041c1904ec6d912824e'
'64ad03589794f5355ba4d6817a67fe9c'
'474e665e2bc7c559f783de0874a94124'
'2aad7732725a26c2630343d168e00914'
'307a23861dd38d7a3f736b66ce8f7312'
'5a85085bf567b56191e925eb2446c5b6'
'63d753f419bde879bdc3033ed29a1e58'
'24b8ef0373ce6496cc945cbfbf21f766'
'6f15470f4bc232e0bc537d3e5aad155c'
'5fdf086b77ed23976ecf685cbc4a5efa'
'e9280a821e2c3f695f545294b24862aa'
'b218456438e28f9cd970fda28f15b453'
'1059a40fa591f08ea6dec1a096e98118'
'a14da03cd1b4fe7a50d6ed96445ef9e6'
'2e6abd26cafb68f467adf565613422df'
'4f3b79c8110f2faec8cf3c4ba6222a9d'
'b483786f1f6f609c9d67df11f23e706d'
'd01a29080b95f2c4a6d74634e0078945'
'3654f0ad3f6eae33ff4fe436fbebb8de'
'223f7b8f072e03487cb2fbbec26641d3'
'03e8128272968738b58344cd01cdef63'
'7bd7ecdffa53bae01e7bf7adc7fe220c'
'fbbc913b4d8b59e8018e471c24b18d9e'
'4f9b8ab17d3ed9d7685ea1daf984f5bf'
'1930f34b007a486369c56897b8a1377b'
'aacf0daa35a92a5ea8b45d86988b0885'
'77ccb32332a25ca1ada8d477055e6627'
'756e90672edfef472dfa35f35df2e829'
'134148bdf5932ff930dc430857e96219'
'ba9365cbcc51381433ca7a17ded1c93d'
'5d67b0ee04937d1b6b69ef5589a53d2e'
'1de0a25ba58808643b457fe17a9be58d'
'61434129ef46488ecc95dc6ee591be35'
'aece6d4e04abca82da646f8c0e3185b5'
'4a4dc9d34fed02ce54d9a08168a3adbc'
'e4c650c0693f6b2737810164e59d3806'
'054065a11e05c0dabaa17822c2eb4566'
'c89e866ef8e9725e87c145e6331eacd2'
'809e3c05b97e8355f24f3f06c91aaac7'
'6de5d7ab27611dfa27dfb484120ce8e5'
'e0f34617d3d44570fb4d0637b088c765')
|