summaryrefslogtreecommitdiff
path: root/community/jansson/PKGBUILD
blob: 695218e3b3fca9fa57b7650af73d0a392fc13943 (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
27
28
29
30
31
# $Id: PKGBUILD 97810 2013-09-30 00:05:41Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Dave Reisner <d@falconindy.com>

pkgname=jansson
pkgver=2.5
pkgrel=1
pkgdesc='C library for encoding, decoding and manipulating JSON data'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.digip.org/jansson/'
depends=('glibc')
license=('MIT')
options=('!libtool')
source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
md5sums=('ab239be8c08871c8463b27cf7610947c')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: