summaryrefslogtreecommitdiff
path: root/extra/json-c/PKGBUILD
blob: 9972a71a1b32a8f258e814e9fb73ecdf9d58ba68 (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
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
pkgver=0.9
pkgrel=1.1
pkgdesc="A JSON implementation in C"
url="http://oss.metaparadigm.com/json-c/"
license=("MIT")
arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://oss.metaparadigm.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('3a13d264528dcbaf3931b0cede24abae')
options=(!libtool)
build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}