blob: 409f39b86e32b09fc17b2e97c9eeab78b26b9076 (
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
|
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
_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)
pkgbase=icedove-l10n
pkgname=(
$(for lang in ${_langpacks[@]}; do
echo $pkgbase-$lang | tr A-Z a-z
done)
)
epoch=1
_pkgver=24.2.0
pkgver=24.2.0.deb1
pkgrel=1
pkgdesc="Language packs for Debian Icedove."
arch=('any')
_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi
url="http://packages.debian.org/sid/icedove"
license=('MPL' 'GPL')
depends=("icedove-libre>=$epoch:$pkgver")
makedepends=('unzip' 'zip')
source=('brand.dtd' 'brand.properties')
for lang in ${_langpacks[@]}; do
source+=("langpack-$lang@icedove.mozilla.org.xpi::$_url/$lang.xpi")
done
noextract=(${source[@]##*/})
_path=usr/lib/icedove/extensions
prepare() {
cd $srcdir
for lang in ${_langpacks[@]}; do
unzip -q langpack-$lang@icedove.mozilla.org.xpi -d $lang
rm langpack-$lang@icedove.mozilla.org.xpi
install -Dm644 $srcdir/brand.dtd $lang/chrome/$lang/locale/$lang/branding
install -Dm644 $srcdir/brand.properties $lang/chrome/$lang/locale/$lang/branding
sed -i -e 's/thunderbird/icedove/' $lang/install.rdf
cd $lang
zip -q -r langpack-$lang@icedove.mozilla.org.xpi .
mv langpack-$lang@icedove.mozilla.org.xpi $srcdir
cd ..
rm -r $lang
done
}
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'
'2450e9b3a3f7b263dffba2b565caa026'
'c8a34d460bbcf6095816787341a83bd3'
'9718159572dfa8318dd01a9a63a44b24'
'b86442f249fe530e3e3e97444c559a7b'
'd1d7f1bec25dd183aea62dd46b6b845f'
'425eb82e0cc734477fcb1f5eaca3a0b8'
'd2a1f926448d9205fc2a9a113118c8f7'
'9e8afc1b6bf49f77e78462844745eabb'
'05c7362d95f6c1b8d4ab401b93d4dd26'
'e3c7a12c3cd115f89472e714de9bbd96'
'511a967c932cd737f2c163d435c160b2'
'938095a514e39ca8058b894f7e285cdc'
'827e21a03cd9c99e9cb70e54b43cd28d'
'97aed07198d724ed2ff2f776cea9a694'
'393c678ac00c636096dc9d826fa99094'
'a2ea99fb8bea0c81323f71987734fa75'
'7fa2aefd207d0830ec7d14f82d114b0e'
'3755689abeca519609029e0feb546861'
'239e1f4065d0027a09f4918fea2caebb'
'62d148305f8c146c6aeb7e46a91fb9dc'
'4cf85b9d988af5cf0dbbe60f33c78f8b'
'ff3674d6422b3c6714dbbb604e830949'
'6b3c1eeb2a08f23e62865dd0890c7de2'
'4542f05f58a3f3fcc10fe2bee7bce620'
'eabd4446b149be7abfb6ebdf2f0f9d17'
'e2a4cae3125def4d5d02de6e39694d42'
'17423b845de2a30f4ce613399032e475'
'4a3227bc8cedbab2557dfddf193dadee'
'e52d3c3a7e85af431aa78b5a172ca204'
'2ea44ef074d6c0126c11f1cf58119ea1'
'51f41c4bfc2651d59512401e6aef1a97'
'b9ae7913f935a3a75fc4d35f54d229e2'
'2b65b7ca0445d9fd3030fc92922c9fef'
'4bd83ca6cc1eba3110be638f0b4ba58e'
'6f31e8349b4690d4364726fecd151c84'
'bb8616d3f3beaf1c1b412d712a8191fd'
'8353b8ed0349460ff9006d1dc2e907f4'
'cbc9d67c7c46a14517925674c7ce9241'
'10e9f12b915261a091f1e9a7aa3c491a'
'047ad48b03c91e0c4f59a828e34fe216'
'ba6d3760ab01715b38f8c48c2c90c4e5'
'1acb8648f3efc1255472dd6161167467'
'f2473203871f1d3db4c6930fea44d2bc'
'4e5506496329c9adb12271aa0237e437'
'81d7d92335e5bbd31265d4dd56017a03'
'30dd5472ec45558305661ba767450ee6'
'ba42b92642b38e40d442f520d022d2cb'
'92ca20bf2065b5889de8811989600b37'
'2d64d71fca6e4e14ecea0d3e51ef7898'
'763a383781ccd499011c975936538222'
'37476f33e304615105374f11f7af6bcc'
'0905709db25a5566b0ef7507dcca96a9'
'832103f16211936217690e734556e95c'
'ff4a8836c4086c22174bcdc6839468fa'
'6dfa0de1e9731226ff0c85386b100ccb')
|