diff --git a/.SRCINFO b/.SRCINFO index 66dd7d3..d23f227 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = dh-make pkgdesc = tool that converts source archives into Debian package source - pkgver = 0.63 + pkgver = 1.20140617 pkgrel = 1 url = http://packages.debian.org/sid/dh-make arch = any @@ -9,8 +9,8 @@ pkgbase = dh-make depends = dpkg depends = perl depends = make - source = http://ftp.debian.org/debian/pool/main/d/dh-make/dh-make_0.63.tar.gz - md5sums = aa0e6502d682d3c6d97b81ce2d414c87 + source = http://ftp.debian.org/debian/pool/main/d/dh-make/dh-make_1.20140617.tar.xz + sha256sums = 1b33c7fadacbe629889aec54d3a1a9cc1a3dd20b5ef04abdde9f14a1c3ea399e pkgname = dh-make diff --git a/PKGBUILD b/PKGBUILD index 284d0e2..b0d60f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,21 @@ # Contributor: Johannes Dewender arch at JonnyJD dot net # Contributor: Bartosz Feński pkgname=dh-make -pkgver=0.63 +pkgver=1.20140617 pkgrel=1 pkgdesc="tool that converts source archives into Debian package source" arch=('any') url="http://packages.debian.org/sid/dh-make" license=('GPL') depends=('debhelper' 'dpkg' 'perl' 'make') -source=(http://ftp.debian.org/debian/pool/main/d/dh-make/dh-make_$pkgver.tar.gz) -md5sums=('aa0e6502d682d3c6d97b81ce2d414c87') +source=(http://ftp.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz) +sha256sums=('1b33c7fadacbe629889aec54d3a1a9cc1a3dd20b5ef04abdde9f14a1c3ea399e') package() { - mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/debhelper/dh_make - cp $srcdir/$pkgname/dh_make $pkgdir/usr/bin - cp -a $srcdir/$pkgname/lib/* $pkgdir/usr/share/debhelper/dh_make/ + cd "$srcdir/$pkgname-$pkgver" + install -D dh_make $pkgdir/usr/bin/dh_make + install -d $pkgdir/usr/share/debhelper/dh_make + cp -a lib/* $pkgdir/usr/share/debhelper/dh_make/ } # vim:set ts=2 sw=2 et: