blob: b7f1547b86d7f3d02ae2fb02ac97e1c13b2ba325 (
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
|
pkgname=libfastjson-git
pkgver=1.2304.0.r5.gf1983a8
pkgrel=1
pkgdesc="A performance-focused json library for C"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
url="https://github.com/rsyslog/libfastjson"
license=('GPL')
source=(git+https://github.com/rsyslog/libfastjson)
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
autoreconf -fvi
./configure --prefix=/usr
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" install
}
|