blob: 3c0b42b313084e355f1e40eb2a2684c77c7584ba (
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
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer: André Silva <andre.paulista@adinet.com.uy>
# 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=iceape
_debver=2.7.4
_debrel=2
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
_langpacks=(be ca cs de en-GB es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT ru sk sv-SE tr zh-CN)
pkgbase=iceape-i18n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
_pkgver=2.7.4
pkgver=${_debver}.${_debrel}
pkgrel=1
pkgdesc="Language packs for Debian Iceape."
arch=('any')
url="http://packages.debian.org/source/sid/iceape"
license=('MPL')
depends=("iceape-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/iceape/extensions"
for lang in ${_langpacks[@]}
do
eval "
package_iceape-i18n-$(echo $lang | tr A-Z a-z)() {
install -Dm644 \"\$srcdir$_path/langpack-$lang@iceape.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceape.mozilla.org.xpi\"
}
"
done
md5sums=('6d773ee12e9e3475f20f7ae1a13ae60b'
'cce134a647f71808c15d3a693c6e0d91'
'289b5df66a7bf79a900f7033f034b941'
'90f7836b6dbe752fe0eb6e85be961dad'
'46f6170f7ca9a0e7d1be7cf2da411089'
'16fcf9e6c74a25ec164e4d0d9be7a9d4'
'ad7eb7ff8ec821d3bb8baedb4c83b9a1'
'612ed06337160596629f92699bc9dc08'
'8204487072c23d70c1332c32b75850f1'
'd653627ccc8f188d8f908ad60ee9c10d'
'146e7bb6829b44c9b971d271a9682f47'
'eed45ddcec761bb76eec33ca26b8f869'
'0fb90f7c8de00ddcf7dc500264979cba'
'3454cfd4e79a7a2ef2a519133f57a5a7'
'880b81a89f71851f146e3e8bb45c0215'
'e219a4a6a277edf7da1ecaf29203887f'
'9dff81762577df8b105912457a8ebdcd'
'a7431be429fc93dc9876e3376441855b'
'19cb8a522fc38aeabdf375c2118efe7a'
'7d1e1f279bf3786917b11168251ced57'
'918022ba06904a99caffa5654a47f8b3'
'138d693f00d34ed8f943fca053e9e876')
|