archrelease: copy trunk to extra-x86_64
[arch-packages.git] / jansson / repos / core-x86_64 / PKGBUILD
blobaa877aef08ae22dedd7de1b5d95ac4b690737945
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Dave Reisner <d@falconindy.com>
4 pkgname=jansson
5 pkgver=2.14
6 pkgrel=2
7 pkgdesc='C library for encoding, decoding and manipulating JSON data'
8 arch=('x86_64')
9 url='https://www.digip.org/jansson/'
10 depends=('glibc')
11 license=('MIT')
12 options=('staticlibs')
13 source=("https://github.com/akheron/jansson/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
14 sha256sums=('5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929'
15             'SKIP')
16 validpgpkeys=('B5D6953E6D5059ED7ADA0F2FD3657D24D058434C') # Petri Lehtinen <petri@digip.org>
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   CFLAGS+=' -ffat-lto-objects' \
21   ./configure --prefix=/usr
22   make
25 package() {
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: