pkgname=jansson pkgver=2.14 pkgrel=1 pkgdesc="C library for encoding, decoding and manipulating JSON data" arch=('x86_64') url="https://www.digip.org/jansson" license=('MIT') depends=('glibc') source=(https://github.com/akheron/jansson/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9) build() { cd ${pkgname}-${pkgver} CFLAGS+=' -ffat-lto-objects' local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }