diff options
Diffstat (limited to 'main/pkgconf')
-rw-r--r-- | main/pkgconf/APKBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/main/pkgconf/APKBUILD b/main/pkgconf/APKBUILD index 401207cf9d..f56db1f579 100644 --- a/main/pkgconf/APKBUILD +++ b/main/pkgconf/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=pkgconf pkgver=1.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="development framework configuration tools" url="https://github.com/pkgconf/pkgconf" arch="all" @@ -15,9 +15,7 @@ replaces="pkgconfig" provides="pkgconfig=1" source="https://distfiles.dereferenced.org/pkgconf/pkgconf-$pkgver.tar.xz" subpackages="$pkgname-doc" -if [ "$CHOST" = "$CBUILD" ]; then - makedepends="$makedepends kyua atf" -fi +checkdepends="kyua atf" builddir="$srcdir"/pkgconf-$pkgver @@ -34,9 +32,10 @@ build() { --with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig \ || return 1 make || return 1 - if [ "$CHOST" = "$CBUILD" ]; then - make check || return 1 - fi +} + +check() { + make check || return 1 } package() { |