diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-13 09:35:18 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-13 11:31:58 +0100 |
commit | 84df29bd23e0d41520f1b821d70afe11f5b1ab1b (patch) | |
tree | 25d14e7de1dcdcbd27de6c802f98aad3584d5cbf /main/jansson/APKBUILD | |
parent | 0d135a59aa4ce9aa635d008be0d97dfacddff5a3 (diff) | |
download | aports-84df29bd23e0d41520f1b821d70afe11f5b1ab1b.tar.bz2 aports-84df29bd23e0d41520f1b821d70afe11f5b1ab1b.tar.xz |
main/jansson: upgrade to 2.10 and add check()
Diffstat (limited to 'main/jansson/APKBUILD')
-rw-r--r-- | main/jansson/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD index 195abb4fff..9d12c52b55 100644 --- a/main/jansson/APKBUILD +++ b/main/jansson/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=jansson -pkgver=2.9 +pkgver=2.10 pkgrel=0 pkgdesc="lightweight JSON library" url="http://www.digip.org/jansson/" @@ -25,11 +25,14 @@ build() { make || return 1 } +check() { + cd "$builddir" + make check || return 1 +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="4b9d8fe6690ae3f10a227165bc02b696 jansson-2.9.tar.bz2" -sha256sums="77094fc1e113da0e2e65479488a0719f859b8f5bde3a6a0da88a1c73a88b5698 jansson-2.9.tar.bz2" -sha512sums="ba6d00c8d6b109b825d003f9b75d9ec8e6bfb9cfc568062312df8710e8f9415893094dcea4bb82f9bca9566b9d226d165710d99a3fa445e18dd151c1edbd6ba5 jansson-2.9.tar.bz2" +sha512sums="fb51e029275e3f9fb0eb2a3307a24b17e6445fa6fde16791f29ef9f8aac6ffaf5878c4f01d2ed0ed04b2e7fcb82ca86263916745fd5b28746ed32991e59f3812 jansson-2.10.tar.bz2" |