diff --git a/.SRCINFO b/.SRCINFO index 6bedffd..6bb2abe 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,14 +1,15 @@ pkgbase = dh-make pkgdesc = Tool that converts source archives into Debian package source pkgver = 2.202102 - pkgrel = 1 - url = http://packages.debian.org/sid/dh-make + pkgrel = 2 + url = https://salsa.debian.org/debian/dh-make arch = any license = GPL + makedepends = git depends = dpkg depends = make depends = python - source = https://deb.debian.org/debian/pool/main/d/dh-make/dh-make_2.202102.tar.xz - sha512sums = fedaca9b681622ae30e66de7932d909f47778cb5c55346f1616378a501d6fb68920c6a820df2ca9111e3f372f93449aeaa8485493fb4472f70122541b372b97a + source = git+https://salsa.debian.org/debian/dh-make.git#tag=debian/2.202102 + sha512sums = SKIP pkgname = dh-make diff --git a/PKGBUILD b/PKGBUILD index 8abfc42..7c23e75 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,22 @@ -# Maintainer: Luca Weiss +# Maintainer: peeweep at 0x0 dot ee +# Contributor: Luca Weiss # Contributor: Johannes Dewender arch at JonnyJD dot net # Contributor: Bartosz Feński pkgname=dh-make pkgver=2.202102 -pkgrel=1 +pkgrel=2 pkgdesc="Tool that converts source archives into Debian package source" arch=('any') -url="http://packages.debian.org/sid/dh-make" +url="https://salsa.debian.org/debian/dh-make" license=('GPL') depends=('dpkg' 'make' 'python') -source=(https://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz) -sha512sums=('fedaca9b681622ae30e66de7932d909f47778cb5c55346f1616378a501d6fb68920c6a820df2ca9111e3f372f93449aeaa8485493fb4472f70122541b372b97a') +makedepends=('git') +source=("git+$url.git#tag=debian/$pkgver") +sha512sums=('SKIP') package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" install -D dh_make.py "$pkgdir"/usr/bin/dh_make install -d "$pkgdir"/usr/share/debhelper/dh_make cp -a lib/* "$pkgdir"/usr/share/debhelper/dh_make/