summaryrefslogtreecommitdiff
path: root/libre/icecat-i18n/PKGBUILD
blob: b0860c0a106d218398bc4a4ef0572306617be33d (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
# Maintainer: fauno <fauno@kiwwwi.com.ar>
# Contributor: Figue <ffigue@gmail.com>
# Based on firefox-i18n package

# wget http://gnuzilla.gnu.org/download/langpacks/${pkgver}/
# echo $(egrep -o '[^>".]+\.xpi' index.html | sort -u | sed 's/\.xpi//')
_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=6.0
pkgrel=1
pkgdesc="Language packs for 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-5.0/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=('591c7337853eedb77b86dede0c5bdf54'
         '2b0c067f8387fb582b419dfca57d422e'
         'f3f6870d4b01bd64d80ac4de1db513f0'
         'd4f56954f7ad955481bda5503ecbc512'
         '765d3c03355029434bbb65d121f67089'
         '9e079762110ad2fcedc993bb87c44963'
         '66a95194e65db2153e594fab871f5cd3'
         '6ee12336d42c9ff23ec2b7864f44e38f'
         '945f3c38961572b12148bc4f1c8bd283'
         '9325c0178bff267cf4bb0583cf1d6c36'
         '72c776ab5cd92cbaf7e3bda8d6f0d0d5'
         '3e2a8386e6c56808a38ea749fd06d796'
         '8a44d5a3c358bc510feccf917879baea'
         '73574a44a75d52cfab87c3e10b2ebbb1'
         '7486a690a30f348f07a2fec8478f3d1d'
         '4c41dc44ff3e3b64e5a15aa2c1184660'
         '6fde110c1244662eaf31d517ae2c9690'
         'b37ce2233807458f5b3835114f04c6df'
         '8fa56995459873b5dcd03b06ee4a179c'
         'bfe86fdf0111d7d7d02fb689e197bdd3'
         'e97fe3f85ac1fc9c1c61edd56527ab25'
         '5a51f4072f1c7f43832ac1c41a7135fd'
         'b13e8d2e54bbe35f9da43239cb4a2a16'
         '71dd0c6257b419f986127db2600851a7'
         '80a081a31a991fa63af8c26aebbaf8b3'
         'db7a91026ba03d4bfaadf23c4508ecf2'
         'a839ad07724553aefb76aa48c988ca3f'
         'b1e6859da4b078530fa00783c2fc8621'
         '40abf8376133162a9f7c7ec44e5e06e6'
         'c4f62ffabe72ae87a096025998887bf9'
         '1f58d2fbbaf449b4e05a83feddaa7f4e'
         '9a54443791d8aa7004d085d79e4db1ea'
         '948138c58a07b5fcb5c254bca5399e22'
         '8889732de77e9e51bb43c744300a8b10'
         'fcc0c92d1c1aae27881cba21cd81d15c'
         'df3946f758bed44d30068bda21aa1af5'
         'e8b8fbc055f64c0b23a1c5c0ff21c603'
         'b358b06641cdfff8c8c500679aa632d3'
         'f7e67fa44a737f9b3a80abb9c3915ce5'
         '2ee78734669c9e92a103db8c41614cca'
         'c0605e37d16869969b37b5936e28ff5e'
         '51371731e61bc1369f47fd9ef263c63e'
         '37eeb62381928a226472a916fec56844'
         'a22816fda39678927ca34437da1519b9'
         'd5910852f9ff4e142b5ad124f2135e59'
         '3cbe3eb40bb57e6ff11d6377d966a8fc'
         '64ce138c00140e553689d4265f018898'
         'c37d831b598ac6e5b0e3e49ec605ff7b'
         '546deebbe1f27122ff21fbe85dd9ecfd'
         '1bcacee0782d62298883426a41830531'
         '69584792a5d7eba4ff80e85456d647c6'
         '4515b31f20fd2f20bce55f4a1f6c0ec8'
         '6357aeaf62d7867506c20b38bd2478a3'
         '54da09a50365fea562b804b4cf2be2c4'
         '0a8750cc238982882c7872edf2989341'
         '136d2c2b747e7227207ed7dbb79b294e'
         '43ae45dae8693c119a8cf703a0bb132a'
         '3627b7ab8670a3741a48786df22ed2c0'
         'e4d3db69c334d1021b1982ab87a10d42'
         '31c7e16225a379dc1fdabc211cd99079'
         '142e02f1ab3db4f97b37adbf4e3a9138'
         '617e895568a02588a168c54347f372e6'
         '093b71d87d5e04311dab30b7a566d708'
         'e30278d7ac6ca5d09cb688420a221cc0'
         '3ba61614b3ddbcf3dda18279e199afcd'
         'eaa1f41fa0ed45a5a3a0ab5b7b9e49d5'
         '62999792ecd62689855651082d19d167'
         '05a46c2dd966fd666f13e8db06441cf3'
         'fdf997b09ab54da41fccc590dba5201e'
         'bac1fc01d3bede7b4bb14a2290c33040'
         '08c12984597bbe198329378fc59bacfb'
         '587cb4938f8eac86e7ad05e7be4b0f9a'
         '84914182cdb315e1a3a2062993f5cc00'
         '15abeab9563a56bb0a061714f94bb1c5'
         '05b190869d198992fda1624feb216a09'
         '5885e96955025acf86f4186aaba5b794'
         '37bddedad6898bac58987effeccadfad'
         '49c0fbe9e0cbf66e24919eb99a612a43'
         '9333d449ddbc8a3463d5aabacef39956'
         'ede65b0a4ba01afc53ba8035dc6a054c'
         'fe40e393535cc3106041592b626995f7'
         'a5941ca6a2271e0e1b4de3f9e7df5571'
         '84da1f02c05066fe779e4813befc062e')