diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-02 13:12:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-02 13:12:38 +0200 |
commit | a34f806be163bdeb4a7602a201282f889c79b069 (patch) | |
tree | 2eb94c9b408c01c82ad0e1446381ff6ae0a26e63 | |
parent | Update bus to version 3.1.10 (diff) | |
download | aur-packages-a34f806be163bdeb4a7602a201282f889c79b069.tar.gz aur-packages-a34f806be163bdeb4a7602a201282f889c79b069.tar.bz2 aur-packages-a34f806be163bdeb4a7602a201282f889c79b069.tar.xz |
Update xtest to version 2.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | xtest/PKGBUILD | 19 |
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 } |