summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb3d7b32ee2adfa05cabe0133fadef4f34a7fa36 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Philanecros Heliostein <philanecros@gmail.com>

pkgname='libjson'
pkgver='0.8'
pkgrel='1'
pkgdesc="libjson is a small C library and small codebase that packs an efficient parser and a configurable printer"

arch=('i686' 'x86_64')

url="http://projects.snarc.org/libjson/"
license=('LGPL')

#groups=()

#depends=()
#makedepends=()
#optdepends=()

#provides=()
#conflicts=()
#replaces=()

#backup=()
#options=()

#install=
#changelog=

source=('http://projects.snarc.org/libjson/download/libjson-0.8.tar.gz')
#noextract=()
md5sums=('f8eddc87510d399a2532a9b0d74c2455')

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

  make CFLAGS:='-Wall -Os -fPIC'
}

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

  make DESTDIR="${pkgdir}" install
}