summaryrefslogtreecommitdiff
path: root/mozilla-testing
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-testing')
-rw-r--r--mozilla-testing/iceweasel-i18n/PKGBUILD136
1 files changed, 102 insertions, 34 deletions
diff --git a/mozilla-testing/iceweasel-i18n/PKGBUILD b/mozilla-testing/iceweasel-i18n/PKGBUILD
index fd56f38bb..1194c170d 100644
--- a/mozilla-testing/iceweasel-i18n/PKGBUILD
+++ b/mozilla-testing/iceweasel-i18n/PKGBUILD
@@ -8,53 +8,40 @@
# - (optionally) edit PKGBUILD.in
# - Run 'make'. It will take care of everything else for you.
-_debname=iceweasel-l10n
-_debver=9.0+debian
-_debrel=1
+_debname=iceweasel
+_debver=10.0
+_debrel=2
_debrepo=http://ftp.debian.org/debian/pool/main/
debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
-# echo $(ls src/iceweasel-l10n-*+debian/upstream/ | sed 's/\.xpi/ /')
-_langpacks=(af ak ar ast as be bg bn-BD bn-IN br bs ca cs cy da de dz-BT el en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa-IR fa fi fr fur-IT fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja ka kk kn ko ku lg lt lv mai mk ml mn mr nb-NO ne-NP nl nn-NO nso oc 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)
+_langpacks=(af ak ar as ast be bg bn-BD bn-IN br bs ca csb cs cy da de el en-GB 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 ta-LK te th tr uk vi zh-CN zh-TW zu)
pkgbase=iceweasel-i18n
pkgname=($(for lang in ${_langpacks[@]}
do echo $pkgbase-$lang | tr A-Z a-z
done))
-_pkgver=9.0
+_pkgver=10.0
pkgver=${_debver}.${_debrel}
-pkgrel=2.1
+pkgrel=1
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
url="http://www.geticeweasel.org/"
license=('MPL')
depends=("iceweasel-libre>=$_pkgver")
-makedepends=("mozilla-devscripts" "xmlstarlet")
-source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.gz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.diff.gz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.dsc")
-noextract=($(for lang in ${_langpacks[@]}
- do echo $lang.xpi
- done))
-
-dpkg-source() {
- # This will simulate dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
- cd "${_debname}-${_debver}"
- patch -p1 -i "${srcdir}/${_debname}_${_debver}-${_debrel}.diff"
- cd ..
-}
+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}"
- dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
- patch -Np0 -i ${_debname}_${_debver}-${_debrel}.diff
- cd ${_debname}-${_debver}
- # Fix broken files or avoid unnecessary dependencies.
- sed -i 's/$TARGET/$TARGET ; exit/' debian/build-script.sh
- # Langpacks initially state to support exactly one browser version,
- # Debian fixes this.
- sh debian/build-script.sh override_dh_auto_build 9 21
+ for f in *.deb
+ do
+ bsdtar xf $f
+ bsdtar xf data.tar.gz
+ done
}
_path="/usr/lib/iceweasel/extensions"
@@ -63,12 +50,93 @@ _path="/usr/lib/iceweasel/extensions"
for lang in ${_langpacks[@]}
do
eval "
-package_iceweasel-i18n-$(echo $lang | tr A-Z a-z) () {
- install -Dm644 '$srcdir/'*'/build/$lang.xpi' \"\$pkgdir\"'$_path/langpack-$lang@firefox.mozilla.org.xpi'
+package_iceweasel-i18n-$(echo $lang | tr A-Z a-z)() {
+ install -Dm644 \"\$srcdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\"
}
"
done
-md5sums=('d0dc0653b9d7642e6d346b54fb1782ae'
- '493920a716fa40daeb5bd8cdfdbfe6a6'
- 'd03f6db3a354e9208500898738506e50')
+md5sums=('793a94a6e885aaf4d8e6f19d0eeb521d'
+ 'f7456e45c7f6ba5920d6a5ac7bc79e0f'
+ 'cb61542372b3ffc673dc0d7bd2daeb64'
+ 'd50d7eafe754a719ecfa34a633b8934a'
+ '69269ecb9349e43f2394c80d79395252'
+ '84697940978ce0cb435e3cef7c0a899b'
+ '2c3322b32d77ba0558bfaa90895c5159'
+ '9915009fecabb5e61bb607643d873725'
+ '474241d6e43c553c497818b871793935'
+ 'ebc92d813eefc7de71e1cce905c02905'
+ 'a6d5d79e133740d4f3c718c834192497'
+ '89e21920d652c3fc62778279ef7bd7e9'
+ '512202725a96e551838b50126b61b399'
+ 'd2585b6724f7ddbde640168955d5751a'
+ 'a69d9d2a1507160b0a50bf19f9bc724e'
+ 'b4fa0cd1d1f821be0a80df25c66ecb7f'
+ '56c8ccddd4d7bb8d33f3ca4da5f11e7f'
+ 'b57896dedb380d1c4c88016855d92def'
+ 'b676f044077fb0ba0d1f906da959bb2d'
+ 'fe121bd9cd1014ce665369a8f8514915'
+ '6f089b06fee2fa96546cf588882d307b'
+ 'b79affe803cf1d27194ebf34408de68b'
+ '8bd6ba3e617dc567b91fa9e05f87fa63'
+ 'ddba2e2e8784091fa251a256e0d979e3'
+ 'cb5450a6b86215c50d34168fb8999546'
+ '990dd3f87bb5872cb34d1f4aa596c1a7'
+ '4702e63ee804e9df0de0ad3997a73fe0'
+ '4e9e0dea57ddf7fd5a295798ebd4c8ff'
+ '8d157f7d71deee985414da0b2a31deb1'
+ 'afb03c513129c864762748ee7a43dfea'
+ '21b94e104f358af6fff96eddb25c0be5'
+ '8804dca0055bb40918bd2fa53cbf9f46'
+ '65cf3f2b62e74e5263ddd3c0aeae6efc'
+ '75b0601628af786086ade2d19f7a7dbd'
+ 'b41e48029475606210ba2386a516eea5'
+ '3a175250397bd9a12e111b0cae9b8bc9'
+ '8816aded7a74fa44d07d7aba1cc5cd24'
+ '781fc19740d15689c34124f6ce2d0c37'
+ 'a1310e77625e8c0b2fa79482776ae0b7'
+ '6eda69c80e7667f2f18e33542ae58ab9'
+ '99d03faaeb4c14b4b8e24a70b51c88e6'
+ '08a7afeefe6ce58e088ab630e5888de9'
+ 'afbfd8430dd79e0c2d8a232601ef590f'
+ '35a1d92021eb05e4aca0d16d4fbad6bb'
+ 'ce6c430d1fbae0d01431055f62aa2e17'
+ '015fce7a57e94736a0971893495c25a4'
+ 'ba5f035417146bcb83d78288871974c8'
+ 'b72a8bc535d8d8d75e2527fcc183c063'
+ '29c04ac90494ad91dfb084ef665c647a'
+ '10b5da824adf7c95868fb9bc8f0a1c13'
+ '30f846e358a33c75f1fa34ae1c8f6152'
+ 'b66f05ffe4f9ac891434758c65201692'
+ '7b3e9c60508ebb5ad38288fd4d271564'
+ '4a37b546faeba4db56c537859d246c9e'
+ '32e372e04d47347ca7915388d0c28856'
+ '5051b69589aefb0672afcfc53f13d5e6'
+ '951d765d9bb5fde4de7e9a0a7b2d86fa'
+ 'c7d4a0e0ea5de23101bec63cd0d16a79'
+ 'c9b5782c573c45ba5966f6731ab74919'
+ 'feb93641c8a5bdbc3d2c0a7a984301ec'
+ '3ee2f65ce0a81280bca493046de34e36'
+ '531aa070f985ad04f2956223baa3eadd'
+ 'e1d5ba35f740cb3cc53ac7ddfeecc53d'
+ '6d51c6c4196b8fd1a0ef28a26be9a7c8'
+ 'cc9a129a663b3e557f4b7af3a362f849'
+ '68647b56c8383a961d1a548755b8ed3e'
+ '2ff3b25510bc7dae3ace16275149604e'
+ 'd151521d572d4c34cdc0781f79397a28'
+ 'b4cbf748b686fed239c54747cf980114'
+ '144b7b1856cb5edbfe6bb1b46ed7ebce'
+ '6ddd3e1752225b85481ea9a6a92bc771'
+ 'b40300590d475e4732db173dcbacbacd'
+ 'c52ae8f37f21cb7fe8af84fc3d11f5be'
+ 'd565ad7989e912fcdc25ace8ebcc4d03'
+ 'f839187be23fd08dfd92f49a0e84a280'
+ '54a0a8e37c4f9b73635b1602f16d7deb'
+ '7abfb562c214f69123988274ff3278a1'
+ '2a0691d6282b55adb59fee29633598df'
+ '15ff4db6870007e5eebb7de314ed95ca'
+ '04ab9dbe13f6c09bfedeb248d77ad409'
+ '2f60fa5185dd337f69d2db7d0b290e22'
+ '0097341a10cb8cb47b37642b05effc04'
+ '7c3f6bcad90774d5f55d429ef61ccdba'
+ '4b2e077aa01023fde8a6611f89d69b5d')