From 47686b645ee98b6ca8a94bb0046101016767af20 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Oct 2017 19:27:42 +0200 Subject: Update xtest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xtest/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'xtest') 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 } - -- cgit v1.2.3-70-g09d2