upgpkg: devscripts 2.17.5-3

- Avoid multiple git cloning for different versions (fixes #2)
This commit is contained in:
Giovanni Santini
2017-05-26 12:00:20 +02:00
parent d4a94aac00
commit a47152bab3
2 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
pkgname=devscripts
pkgver=2.17.5
pkgrel=2
pkgrel=3
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
arch=('i686' 'x86_64')
url="http://packages.qa.debian.org/d/devscripts.html"
@@ -30,20 +30,20 @@ makedepends=(
options=('!makeflags')
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#tag=v${pkgver}"
"${pkgname}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v${pkgver}"
fixes.patch
)
sha256sums=('SKIP'
'9d038e5425848734874a03e2bdc0c8b86b1f42e9626f37dd916c1b7d73ad9141')
build() {
cd "$pkgname-$pkgver"
cd "$pkgname"
patch -p1 -i "$srcdir/fixes.patch"
make
}
package() {
cd "$pkgname-$pkgver"
cd "$pkgname"
make DESTDIR="$pkgdir" install
# Create dch symlink to debchange