From a34f806be163bdeb4a7602a201282f889c79b069 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 2 Jul 2023 13:12:38 +0200 Subject: Update xtest to version 2.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xtest/PKGBUILD | 19 +++++++++++-------- 1 file 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 } -- cgit v1.2.3-70-g09d2