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

@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Fri May 26 09:32:15 UTC 2017
# Fri May 26 10:00:21 UTC 2017
pkgbase = devscripts
pkgdesc = Scripts to make the life of a Debian Package maintainer easier
pkgver = 2.17.5
pkgrel = 2
pkgrel = 3
url = http://packages.qa.debian.org/d/devscripts.html
arch = i686
arch = x86_64
@@ -29,7 +29,7 @@ pkgbase = devscripts
depends = perl-timedate
optdepends = sensible-utils: for sensible alternative selection
options = !makeflags
source = devscripts-2.17.5::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v2.17.5
source = devscripts::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v2.17.5
source = fixes.patch
sha256sums = SKIP
sha256sums = 9d038e5425848734874a03e2bdc0c8b86b1f42e9626f37dd916c1b7d73ad9141

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