aboutsummaryrefslogtreecommitdiffstats
path: root/main/jansson
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-04-05 17:39:53 +0000
committerJakub Jirutka <jakub@jirutka.cz>2018-04-05 19:56:58 +0200
commit39cd9822b9fc1e8f329251fd52e8adcb4f0f3821 (patch)
treebcb0e6c0746cd6a289b37b2f4a47b5536a1a0f8b /main/jansson
parent2690eafd744c0b3e846cd4202fa973100017db2c (diff)
downloadaports-39cd9822b9fc1e8f329251fd52e8adcb4f0f3821.tar.bz2
aports-39cd9822b9fc1e8f329251fd52e8adcb4f0f3821.tar.xz
main/jansson: upgrade to 2.11 and modernize
Diffstat (limited to 'main/jansson')
-rw-r--r--main/jansson/APKBUILD14
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"