pkgname=libfastjson pkgver=0.99.4 pkgrel=1 pkgdesc="A performance-focused json library for C" arch=('x86_64') url="https://github.com/rsyslog/libfastjson" license=('GPL') depends=() source=(https://github.com/rsyslog/$pkgname/archive/v$pkgver.tar.gz) sha1sums=('0c10dde7f29d112fc7fc7b78583719f839bd2f16') build() { cd "$pkgname-$pkgver" autoreconf -fvi ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }