blob: 98b9747e0757e863d494b57ba8dea52195e0a32d (
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
|
# Maintainer: Márcio Silva <coadde@lavabit.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgbase=icedove-l10n
epoch=1
_pkgver=17.0.10esr
pkgver=17.0.10.deb1
_langpacks=(ar ast be bg bn-BD br ca cs da de el en-GB en-US es-AR es-ES et eu fi fr fy-NL ga-IE gd gl he hr hu hy-AM id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
pkgrel=1
pkgdesc="Language packs for Debian Icedove."
arch=('any')
url="http://packages.debian.org/sid/icedove"
license=('MPL' 'GPL')
depends=("icedove-libre>=$epoch:$pkgver")
makedepends=('unzip' 'zip')
_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi
source=('brand.dtd' 'brand.properties')
for lang in ${_langpacks[@]}
do
source+=("icedove-l10n-$_pkgver-$lang.xpi::$_url/$lang.xpi")
done
# Don't extract anything
noextract=(${source[@]##*/})
_path="/usr/lib/icedove/extensions/"
build() {
cd $srcdir
for i in ${_langpacks[@]}
do
cd $srcdir
unzip -q icedove-l10n-$_pkgver-$i.xpi -d $i
rm icedove-l10n-$_pkgver-$i.xpi
install -Dm644 $srcdir/brand.dtd $i/chrome/$i/locale/$i/branding
install -Dm644 $srcdir/brand.properties $i/chrome/$i/locale/$i/branding
sed -i -e 's/thunderbird/icedove/' $i/install.rdf
cd $i
zip -q -r langpack-$i@icedove.mozilla.org.xpi .
mv langpack-$i@icedove.mozilla.org.xpi $srcdir
done
cd $srcdir
}
for lang in ${_langpacks[@]}
do
eval "
package_icedove-l10n-$(echo $lang | tr A-Z a-z)() {
replaces=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
conflicts=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
provides=(thunderbird-i18n-$(echo $lang | tr A-Z a-z) icedove-i18n-$(echo $lang | tr A-Z a-z))
install -Dm644 \"\$srcdir/langpack-$lang@icedove.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@icedove.mozilla.org.xpi\"
}
"
done
md5sums=('d5b2567a8cc8f64591f313a6efdaaffc'
'f3719964e893c1002b7a923e8f95f923'
'8e791692eea1d3362dc3591ea0ec8593'
'efd3bc6b816bd65544c866f53f78f278'
'6191f2d8be8e159b5660402d3452dde7'
'372e2c07cc13eb1d107c511c587049fd'
'8c0e7078deb311dc4b70b64f6891f880'
'9620ee9661a71329f0a3beaa6c68cc05'
'7e11cfe5c7b8f5ea365d25facd0578eb'
'60b59f79d7cb40ade5127f32856cb1cb'
'f755ec87d0564dc36d8fb7de9477e415'
'6fe04cc1b6c73abae4f613cc9ef4affc'
'89cc2c93e7ed011204a1fb0e86dc4aa7'
'dd0e47be47a9a18835c6070e48d7e07a'
'72b8a0262534c998e8c1604e15fd80af'
'b18d9a8e54d7fb8d607c477611eee9c6'
'082baba9a78b449000961a48277479a3'
'f5e2404638bacab4f38926d4ff7443d8'
'63484a3008ce1892a7e04e0378706cff'
'56befa3bb4792167de1ecb18919fe21c'
'b8868ceb3d5da64be76935ef743c3ace'
'4b803458fd101fc5444b491b04de1eed'
'407387a006d14e7c1f6b0284f6c1fb2e'
'4e727822a0d4647f6de8ba1044b21b09'
'762725dd50e1bf655cf702bf3931fe9c'
'2069e7952995b2d7276f0413235d7203'
'b102cd49a3ff300143a4240b92b3abfb'
'cfcbfef6f4e86956059a18918ec56299'
'c5250b9f59b0d7d34dd6afb752f94fdb'
'aea9d435ba9a75382aceb865f73ccfe1'
'3dfc2f141b8dd36ed69e48821173a530'
'b80d573644034fb0de121f45ebbb843e'
'327eff67979ff6ee62907940ec5773ec'
'477a25730b8d22db20d4870febfda1fc'
'770d533c56934b1f70dff1112c0f3693'
'd77c872cfd3a96117fedeb5b8cf0ef4f'
'766ee0b04341270ef71f3d25436d6fb4'
'5669ac9b087760363713e10f0682849c'
'e65f2c37b894d85152892da770470df0'
'e1175d0806c229bf290aca74b1d5c57b'
'8402b9f98afdadae2a7651e4a03b9bcd'
'b05250bdb9ce8bafe7fdaab8e005a340'
'4b32fdd2393d7395f121e05033f656a9'
'33e2e2d561f8d9549fbc7502b2702e5f'
'4017b43941dd1b16ed73f0e3ef3e25b3'
'55e23c9af6ee67182716b40c5a2296b0'
'd8c7c561a2679395c9de4052122857d3'
'2ff180e37947d2c44a9985925d8e0a0e'
'9ff0b73411a1494658cdda374e70a2c4'
'e1e3f296627a25721f88038841ad8965'
'b3f50f66904f68ad82a7d20ff5adb80a'
'e8c0f7ddeacae4b804af6ed2c27358e8'
'd01b753d349ebe86a99832a75c7e4a37'
'aa2fa304a4d7b4a1f0c8b83dbf6741d8'
'9b612da82cb6d65b2a1090debb7ef7be'
'dd44a654781b0ae7550b0383cf4cc33f'
'8219c036a66f491eb5cf878ae5567aff')
|