1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Dave Reisner <d@falconindy.com>
7 pkgdesc='C library for encoding, decoding and manipulating JSON data'
9 url='https://www.digip.org/jansson/'
12 options=('staticlibs')
13 source=("https://github.com/akheron/jansson/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
14 sha256sums=('5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929'
16 validpgpkeys=('B5D6953E6D5059ED7ADA0F2FD3657D24D058434C') # Petri Lehtinen <petri@digip.org>
19 cd "$srcdir/$pkgname-$pkgver"
20 CFLAGS+=' -ffat-lto-objects' \
21 ./configure --prefix=/usr
26 cd "$srcdir/$pkgname-$pkgver"
27 make DESTDIR="$pkgdir" install
28 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 # vim:set ts=2 sw=2 et: