diff options
-rw-r--r-- | xtest/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/xtest/PKGBUILD b/xtest/PKGBUILD index 5b501a5..91d0326 100644 --- a/xtest/PKGBUILD +++ b/xtest/PKGBUILD @@ -1,7 +1,6 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - pkgname=xtest -pkgver=1 +pkgver=2 pkgrel=1 pkgdesc="Variant of test(1) that can test multiple files from cmdline or stdin" arch=(i686 x86_64) @@ -9,18 +8,20 @@ url="https://github.com/maandree/xtest" license=('custom:ISC') depends=() makedepends=() -source=($url/archive/$pkgver.tar.gz) -sha256sums=(85c0ad450e73abe44d7295514d602f71de0102854f53f8a1f9baf6feea13624f) - +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(10a12fab90381bf62135c24634515865de52e0f7e99f3d0f0959dca1ac9b4c99) build() { cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr } +check() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr check +} package() { cd "$srcdir/$pkgname-$pkgver" - make install PREFIX=/usr DESTDIR="$pkgdir" + make PREFIX=/usr DESTDIR="$pkgdir" install } - |