upgpkg: devscripts 2.16.8-1

Switching to git for building the package
This commit is contained in:
Giovanni Santini
2016-11-12 10:48:07 +01:00
parent a4389017e5
commit 77a7213cb0
2 changed files with 18 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
# Contributor: JD Horelick <jdhore1@gmail.com>
pkgname=devscripts
pkgver=2.16.7
pkgver=2.16.8
pkgrel=1
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
arch=('any')
@@ -13,23 +13,27 @@ url="http://packages.qa.debian.org/d/devscripts.html"
license=('GPL2')
depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper' 'perl-timedate')
optdepends=('sensible-utils: for sensible alternative selection')
makedepends=('po4a' 'perl-timedate' 'perl-libwww' 'docbook-xsl' 'perl-file-desktopentry' 'perl-file-basedir' 'perl-parse-debcontrol' 'python-setuptools' 'bash-completion')
makedepends=('git' 'po4a' 'perl-timedate' 'perl-libwww' 'docbook-xsl' 'perl-file-desktopentry' 'perl-file-basedir' 'perl-parse-debcontrol' 'python-setuptools' 'bash-completion')
options=('!makeflags')
source=(http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz fixes.patch)
source=(
#http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz
${pkgname}-${pkgver}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git
fixes.patch
)
install='devscripts.install'
md5sums=('ba7491d3e9973d7440c49aefed937fbc'
md5sums=('SKIP'
'110857b0eb4a9dbf57a8b562d992ab33')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 -i ../fixes.patch
cd "$pkgname-$pkgver"
patch -p0 -i "$srcdir/fixes.patch"
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# bts completion is present already in the official package
rm $pkgdir/usr/share/bash-completion/completions/bts
rm "$pkgdir/usr/share/bash-completion/completions/bts"
}