aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtest/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/xtest/PKGBUILD b/xtest/PKGBUILD
index 44c5c1e..86c1064 100644
--- a/xtest/PKGBUILD
+++ b/xtest/PKGBUILD
@@ -1,27 +1,30 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=xtest
-pkgver=2.1
+pkgver=2.1.1
pkgrel=1
pkgdesc="Variant of test(1) that can test multiple files from cmdline or stdin"
arch=(i686 x86_64)
-url="https://github.com/maandree/xtest"
-license=('custom:ISC')
+url="https://codeberg.org/maandree/xtest"
+license=('ISC')
depends=()
makedepends=()
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
-sha256sums=(4dcc9ab25228481b0b69bafc21f392425c18ace052f7e1c13793e5d0c917841a)
+sha256sums=(bf8cf7faf5318647894a3cc27694280a12588a0fe7cfcda52a5698cc94f5a833)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
+ if test -z "$CC"; then
+ export CC=cc
+ fi
make PREFIX=/usr
}
check() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make PREFIX=/usr check
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
}