summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD44
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2451d3771ab
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = libjson
+ pkgdesc = libjson is a small C library and small codebase that packs an efficient parser and a configurable printer
+ pkgver = 0.8
+ pkgrel = 1
+ url = http://projects.snarc.org/libjson/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ source = http://projects.snarc.org/libjson/download/libjson-0.8.tar.gz
+ md5sums = f8eddc87510d399a2532a9b0d74c2455
+
+pkgname = libjson
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb3d7b32ee2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}
+