summaryrefslogtreecommitdiff
path: root/mozilla-testing/iceweasel-i18n/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-testing/iceweasel-i18n/PKGBUILD')
-rw-r--r--mozilla-testing/iceweasel-i18n/PKGBUILD28
1 files changed, 18 insertions, 10 deletions
diff --git a/mozilla-testing/iceweasel-i18n/PKGBUILD b/mozilla-testing/iceweasel-i18n/PKGBUILD
index 45555b019..8a744f7a5 100644
--- a/mozilla-testing/iceweasel-i18n/PKGBUILD
+++ b/mozilla-testing/iceweasel-i18n/PKGBUILD
@@ -1,10 +1,13 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# 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:
-# - Update pkgver= and _deb*= below.
-# - Run "make". This will do everything else for you.
+# - Edit variables in in Makefile.
+# - (optionally) edit PKGBUILD.in
+# - Run 'make'. It will take care of everything else for you.
-# We're getting this from Debian Sid
_debname=iceweasel-l10n
_debver=9.0+debian
_debrel=1
@@ -19,8 +22,7 @@ pkgname=($(for lang in ${_langpacks[@]}
done))
_pkgver=9.0
pkgver=${_debver}.${_debrel}
-pkgrel=1
-
+pkgrel=2
pkgdesc="Language packs for Debian Iceweasel."
arch=('any')
@@ -28,21 +30,26 @@ url="http://www.geticeweasel.org/"
license=('MPL')
depends=("iceweasel=${_pkgver}")
source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.gz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.diff.gz")
+ "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.diff.gz"
+ "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.dsc")
noextract=($(for lang in ${_langpacks[@]}
do echo $lang.xpi
done))
-build() {
- cd "${srcdir}"
+dpkg-source() {
# This will simulate dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
cd "${_debname}-${_debver}"
patch -p1 -i "${srcdir}/${_debname}_${_debver}-${_debrel}.diff"
+ cd ..
+}
+
+build() {
+ cd "${srcdir}"
+ dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
}
_path="/usr/lib/iceweasel-${_pkgver}/extensions"
-# This line is here for auto-regeneration purposes. DO NOT EDIT!
for lang in ${_langpacks[@]}
do
@@ -54,4 +61,5 @@ package_iceweasel-i18n-$(echo $lang | tr A-Z a-z) () {
done
md5sums=('d0dc0653b9d7642e6d346b54fb1782ae'
- '493920a716fa40daeb5bd8cdfdbfe6a6')
+ '493920a716fa40daeb5bd8cdfdbfe6a6'
+ 'd03f6db3a354e9208500898738506e50')