aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-19 19:27:42 +0200
committerMattias Andrée <maandree@kth.se>2017-10-19 19:27:42 +0200
commit47686b645ee98b6ca8a94bb0046101016767af20 (patch)
tree6d262bd7b01f4bc9ee1051841cb1a57f4c97b10b
parentAdd python-arg (diff)
downloadaur-packages-47686b645ee98b6ca8a94bb0046101016767af20.tar.gz
aur-packages-47686b645ee98b6ca8a94bb0046101016767af20.tar.bz2
aur-packages-47686b645ee98b6ca8a94bb0046101016767af20.tar.xz
Update xtest
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xtest/PKGBUILD15
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
}
-