summaryrefslogtreecommitdiff
path: root/mozilla-testing/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-30 02:47:56 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-30 02:47:56 -0500
commit991d5dafc518718b98548f34cf4f564e32214885 (patch)
tree50a504498c18d231b8c04e0290bb55fa94bb4152 /mozilla-testing/iceweasel/PKGBUILD
parent8b9dc14ffc0413ccb5887f7f9502c095ca7e7a57 (diff)
Make the iceweasel pkgbuilds have a separate dpkg-source()
In order to make them more debian-ish.
Diffstat (limited to 'mozilla-testing/iceweasel/PKGBUILD')
-rw-r--r--mozilla-testing/iceweasel/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/mozilla-testing/iceweasel/PKGBUILD b/mozilla-testing/iceweasel/PKGBUILD
index 992476d43..e7f9d4d84 100644
--- a/mozilla-testing/iceweasel/PKGBUILD
+++ b/mozilla-testing/iceweasel/PKGBUILD
@@ -53,6 +53,7 @@ options=(!buildflags !distcc)
install=iceweasel.install
source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2"
"${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz"
+ "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.dsc"
mozconfig
libre.patch
# Default configuration
@@ -60,9 +61,7 @@ source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2"
xulrunner-copy-stub.patch
region.properties)
-build() {
- msg2 "Applying Debian patches..."
- cd "${srcdir}"
+dpkg-source() {
# This will simulate dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
@@ -71,7 +70,14 @@ build() {
mv debian "${_debname}-${_debver}"
cd "${_debname}-${_debver}"
quilt push -a
- find .pc -name .timestamp -delete # why isn't --no-timestamps doing this?
+ find .pc -name .timestamp -delete # why isn't "--no-timestamps" doing this?
+ cd ..
+}
+
+build() {
+ msg2 "Applying Debian patches..."
+ cd "${srcdir}"
+ dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
# This will make life more sane
cd "${srcdir}"
@@ -128,6 +134,7 @@ package() {
md5sums=('bd656a24d0ba3d4ca7b68aca8081a07d'
'6cde9fe38df1434fdcc0f3a078b0238e'
+ 'd9b5f2a893ad80da492aec8c9a7cbb7c'
'5e2574eef71ee1437e2f8e7481c67893'
'9609e77182cc300e3fe9d4b0c7e7efb4'
'bd5db57c23c72a02a489592644f18995'