desktop/libfastjson/PKGBUILD
2018-03-10 18:17:37 +00:00

23 lines
468 B
Bash

pkgname=libfastjson
pkgver=0.99.8
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=('df1ab2602bc73cf4c49a16860cf6a065b636fe6d')
build() {
cd "$pkgname-$pkgver"
autoreconf -fvi
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}