diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-23 16:50:31 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-23 16:50:31 +0200 |
commit | 0f1d7ce793118e84263e18fd6d403859a4adbc80 (patch) | |
tree | 1336b311ab4fc66076cf590c0230e62bbb6bb777 /main/check | |
parent | fff6f4c5c17ef28acaf047df432c9b8003302417 (diff) | |
download | aports-0f1d7ce793118e84263e18fd6d403859a4adbc80.tar.bz2 aports-0f1d7ce793118e84263e18fd6d403859a4adbc80.tar.xz |
main/check: update upstream URLs
Also cleanup a bit.
Diffstat (limited to 'main/check')
-rw-r--r-- | main/check/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/check/APKBUILD b/main/check/APKBUILD index 0cf2b94355..1954b8681f 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 } |