diff --git a/main/check/APKBUILD b/main/check/APKBUILD index 0cf2b943558afdede50d40594b4ce82378631dcf..1954b8681f79455d7b4be409c39fa938b9ec8f40 100644 --- a/main/check/APKBUILD +++ b/main/check/APKBUILD @@ -2,37 +2,39 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=check pkgver=0.10.0 -pkgrel=0 +pkgrel=1 pkgdesc="A unit test framework for C" -url="http://check.sourceforge.net/" +url="https://libcheck.github.io/check/" arch="all" license="LGPL2+" depends="" -depends_dev="pkgconfig" -makedepends="$depends_dev" +depends_dev="" +makedepends="pkgconfig" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/check/$pkgname-$pkgver.tar.gz" +source="https://github.com/libcheck/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" update_config_sub || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --infodir=/usr/share/info \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 }