summaryrefslogtreecommitdiff
path: root/libre/icecat-i18n/PKGBUILD
blob: f995939da009411aa9460944b3692326746f7fb5 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
# Contributor: emulatorman <andre.paulista@adinet.com.uy>
# Based on firefox-i18n package

# 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.

_langpacks=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en-GB en-US 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-LK ta te th tr uk vi zh-CN zh-TW zu)

pkgbase='icecat-i18n'
pkgname=($(for lang in ${_langpacks[@]}
        do echo icecat-i18n-$lang | tr A-Z a-z
        done))
_pkgver=10.0
pkgver=10.0
pkgrel=1
pkgdesc="Language packs for GNUzilla IceCat."
arch=('any')
license=('MPL')
url="http://www.gnu.org/software/gnuzilla/"
depends=("icecat=${pkgver}")
source=($(for lang in ${_langpacks[@]}
        do echo http://gnuzilla.gnu.org/download/langpacks/$pkgver/$lang.xpi
        done))
noextract=($(for lang in ${_langpacks[@]}
        do echo $lang.xpi
        done))

build() {
  cd "${srcdir}"
}

_path="/usr/lib/icecat-$_pkgver/extensions/"

for lang in ${_langpacks[@]}
do
    eval "
package_icecat-i18n-$(echo $lang | tr A-Z a-z) () {
  install -Dm644 '$srcdir/$lang.xpi' \"\${pkgdir}\"'${_path}langpack-$lang@firefox.mozilla.org.xpi'
}
"
done

md5sums=('6d4c69921bbdfe92c0fd31873983d426'
         '4e994c70c93e4d266d273d2358f7acf3'
         'd783c592edfa96d6abecd1efa1aa1b5e'
         '70b8badcddb6d5cf6b226c0f0141b463'
         'bcfe52114b1c0f5346594452117bec5d'
         '7d8900839fcf5972a91c4ce1a1bdd7c6'
         'd9720bf726a8f6fde0dc94e6e73863a9'
         'ce61734ab226dc041b55e95c9b6f9d92'
         '965c2ec576ac41e7351e159f516ec65f'
         '4feb78e0dd79606f416b8ab46432ad41'
         '61989146fe89320c847e4de6261a06ff'
         '260f3abb8612248493060e2dec6f0a22'
         '6b49d830c47717001250236c9cc933a5'
         '338137d425c8e6ae98796f3cc9a0550f'
         '4ddf33cc1af9d3ad483d8fc47609aee3'
         'e04918865a21260b8eaf27b3dc84ade5'
         '59961e347c4fe3816f809f456bc9a2b8'
         '262ad46f6c6e8a89eb29b590cc092eb9'
         'e9452d83d914605f06c055c00325bf6b'
         'ae652d7db9b3cd3cba85306d16a7a599'
         '04fec5cd927a57ac6c9780a9f42444e1'
         '70ba3ec972f01e75b144e106afacd8ac'
         'f1ee7deccf3c73083b51c5741722b120'
         'ca5566a24ee4fd38a3a907bfb5d72975'
         'd4717e5c3e44fbaebe4eaf99f0195120'
         '907c42bdaa3af02c39bef5d83198f8a9'
         '7afa1ac8645657722cdf3415244e4686'
         'd3d780b6c8d179c68065d9bec19dce48'
         '09fae6ea53f5435ccfdbf41f660378ee'
         '043306182ec497280b3ea78dcbd7b7d3'
         '8a481d0d41f22d5bc65ed7844a0d7c27'
         '2a8648998f2aafd307511e043cd8564d'
         'e7fbc4b7364d151edac9840b90949f56'
         'e2ea49277375825f612bcfb225dcb0a0'
         '9fb2a20a2222a0d814a3f48d7208d820'
         '88976bac6b9e647f4d17ab1638f12601'
         'a6a39406914459deaefb3403e94dfa39'
         'd3acecff63909d946fb549520785ef99'
         'a8327a1a525330ca9ef8e3f9d50ca5f8'
         'ba3ad9e8843b0de408a72896183985d6'
         '3dfb48ecea5eda9f0e3e05295eb3c82b'
         '95a1e7e2ec604409b54f1ded4ee7accf'
         '69ebeb59c7ff4e0452c9f0998db65ef0'
         '7bdf97288cef0d14ff1521db063cd20c'
         '8f50cfa1e8c788b7b839273848dc2834'
         '3aa0631dc6a53581cf53d559b27a0ee3'
         '45e7238e0d0e427df04d3ba91ca045cd'
         'b992cfa2b0440486cd70fd6ab9e32deb'
         '3a9fac821e039556f7d009080daec643'
         '6872abed4f4d4b81cf5f0b7b656846c7'
         'eb44e902c6a6186c85dca8aff1d5b95f'
         '21f5aeacbb233167218ab7f1b34efdce'
         'b97e29d866ae1ed422d0a1c4327cfd49'
         '5cce41015e73c36944224f827ac5a8d1'
         'a13ac7293acc75015f0034d77ddb0f30'
         '38c84e214af65ed6f059ad524c923dc9'
         '66c8d82875f55f67167048e3d6888d8f'
         '4ec423b8e34a4de058b115fd5918e0b2'
         '0026e20db1bad1eaf692bd0b2043c038'
         '31f029a6665ccae9b4c8cac9eda06c6f'
         'e72ffe020543ca0ad4f8be2aad9e90a9'
         '7b75e8fb1cd8ae34023b312d2214029a'
         '88b1a96268e08f65579b2fe6d7677b73'
         '4418d687e4dcb313fd59247844eab93c'
         'b200a045163b7c09cde85b82013fec98'
         '263f6ff19491b68865bcab4309dff0a8'
         '80d0fb352eb1f252c355d3b8388d3513'
         'dd79b0c4d959f46852e1e23b0cc984af'
         'db51a6767331bb3a8c0a1e0f5f35d968'
         '3155d4cafe5f90ec83336ddd07183629'
         'b9246693498e1ec3c5b4dffa8145d04e'
         '770bf78f2a0c6522e641e61e44617b40'
         'aadf3a6f9517c76e2b37867cb1a654c6'
         '3530c75b3c2311d8127f20df7bd724da'
         'ef3bfc5db8197edb095da10390d8e058'
         '46b701b2db7415b30b82023bb707e1dc'
         '24da3bee4042e31da5781b02dc089499'
         'b3faadcabfd6d738a41ee4c12696adcd'
         '9938f231ce13202d040c24783c95c35b'
         '04894f460b81525d29367f1ed1504f5e'
         'c6049613b48eaaa71c45df2e44db1087'
         '7e7e81ca9c6d44913d37159b4627967c'
         '1a80a20da9cc26e2edd942d77a35c824')