diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -12,7 +12,7 @@ pkgname=dpkg pkgver=1.18.24 _commit=4fd7def03c96e82c03773c6eca111cf244bae8c0 -pkgrel=2 +pkgrel=3 pkgdesc="The Debian Package Manager. Don't use it instead of Arch's 'pacman'." arch=('i686' 'x86_64') url="https://tracker.debian.org/pkg/dpkg" @@ -24,9 +24,9 @@ checkdepends=('perl-io-string' 'perl-test-pod') source=("$pkgname::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=$_commit") sha256sums=('SKIP') -check() { +pkgver() { cd "$pkgname" - #make check + git describe --always | sed 's/^v//; s/-/./g' } prepare() { @@ -34,6 +34,11 @@ prepare() { autoreconf -f -i } +check() { + cd "$pkgname" + #make check +} + build() { cd "$pkgname" ./configure --prefix=/usr \ |