diff options
Diffstat (limited to 'main/jansson')
-rw-r--r-- | main/jansson/APKBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD index 9d12c52b55..0af8c73445 100644 --- a/main/jansson/APKBUILD +++ b/main/jansson/APKBUILD @@ -1,12 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=jansson -pkgver=2.10 +pkgver=2.11 pkgrel=0 pkgdesc="lightweight JSON library" url="http://www.digip.org/jansson/" arch="all" license="MIT" -depends="" subpackages="$pkgname-dev" source="http://www.digip.org/jansson/releases/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" @@ -20,19 +19,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } check() { cd "$builddir" - make check || return 1 + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -sha512sums="fb51e029275e3f9fb0eb2a3307a24b17e6445fa6fde16791f29ef9f8aac6ffaf5878c4f01d2ed0ed04b2e7fcb82ca86263916745fd5b28746ed32991e59f3812 jansson-2.10.tar.bz2" +sha512sums="3a9ef8c470d203ef65f214d979d0a8dfc034ff1417b2af7071564c804e33d51f7b30915c7d62ac2156092aef756e4cdc3298a67205b913ffc312dcafeeefc1dc jansson-2.11.tar.bz2" |