diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-30 02:47:56 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-30 02:47:56 -0500 |
commit | 991d5dafc518718b98548f34cf4f564e32214885 (patch) | |
tree | 50a504498c18d231b8c04e0290bb55fa94bb4152 /mozilla-testing/iceweasel-i18n/PKGBUILD.in | |
parent | 8b9dc14ffc0413ccb5887f7f9502c095ca7e7a57 (diff) | |
download | abslibre-991d5dafc518718b98548f34cf4f564e32214885.tar.gz abslibre-991d5dafc518718b98548f34cf4f564e32214885.tar.bz2 abslibre-991d5dafc518718b98548f34cf4f564e32214885.zip |
Make the iceweasel pkgbuilds have a separate dpkg-source()
In order to make them more debian-ish.
Diffstat (limited to 'mozilla-testing/iceweasel-i18n/PKGBUILD.in')
-rw-r--r-- | mozilla-testing/iceweasel-i18n/PKGBUILD.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mozilla-testing/iceweasel-i18n/PKGBUILD.in b/mozilla-testing/iceweasel-i18n/PKGBUILD.in index a912414b8..691c80c0e 100644 --- a/mozilla-testing/iceweasel-i18n/PKGBUILD.in +++ b/mozilla-testing/iceweasel-i18n/PKGBUILD.in @@ -30,16 +30,22 @@ 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" |