mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 10:07:15 +08:00
rebuild json-c
This commit is contained in:
parent
7277ae7d38
commit
0791ff3d93
@ -1,7 +1,7 @@
|
||||
pkgname=json-c
|
||||
pkgver=0.12
|
||||
pkgrel=1
|
||||
pkgdesc="JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects."
|
||||
pkgrel=2
|
||||
url="https://github.com/json-c/json-c/wiki"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/json-c/json-c/wiki"
|
||||
license=('MIT')
|
||||
@ -16,8 +16,13 @@ build() {
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
Loading…
Reference in New Issue
Block a user