summaryrefslogtreecommitdiffstats
path: root/abs/extra/libfastjson/PKGBUILD
blob: ab137adcbe917dbf50a07938a30114053b174866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id$
# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
# Maintainer: Bob Gregory <pathogenix@gmail.com>

pkgname=libfastjson
pkgver=0.99.4
pkgrel=1
pkgdesc="A performance-focused json library for C"
arch=('i686' 'x86_64')
url="https://github.com/rsyslog/libfastjson"
license=('GPL')
depends=()
source=($pkgname-$pkgver.tar.gz::https://github.com/rsyslog/$pkgname/archive/v$pkgver.tar.gz)
sha256sums=('03ef63dcc88417e71c19ce4436804159e3397e3a20d3529efef6a43c3bef5c8d')

build() {
  cd "$pkgname-$pkgver"
  autoreconf -fvi
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}