summaryrefslogtreecommitdiff
path: root/extra/tinycdb/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-08 00:04:04 +0000
committerroot <root@rshg054.dnsready.net>2012-07-08 00:04:04 +0000
commita522a5f63f3b5726081698bf742801fb1d242817 (patch)
treeee7d4e7261e7387e755d2a08389250575a4e2552 /extra/tinycdb/PKGBUILD
parentd0fe8a4769150cf26265e3457c234c45c53e693b (diff)
Sun Jul 8 00:04:04 UTC 2012
Diffstat (limited to 'extra/tinycdb/PKGBUILD')
-rw-r--r--extra/tinycdb/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/tinycdb/PKGBUILD b/extra/tinycdb/PKGBUILD
new file mode 100644
index 000000000..406690e22
--- /dev/null
+++ b/extra/tinycdb/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 163096 2012-07-07 02:43:05Z bisson $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=tinycdb
+pkgver=0.77
+pkgrel=4
+pkgdesc="very fast and simple package for creating and reading constant data bases"
+arch=(i686 x86_64)
+url="http://www.corpit.ru/mjt/tinycdb.html"
+license=("GPL")
+depends=(glibc)
+source=(http://www.corpit.ru/mjt/tinycdb/${pkgname}_$pkgver.tar.gz)
+md5sums=('c00e5fb96c30356ac3b67b2ab5d5641b')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make sharedlib staticlib cdb
+
+ install -D -m 0644 cdb.h $pkgdir/usr/include/cdb.h
+ install -D -m 0644 cdb.3 $pkgdir/usr/share/man/man3/cdb.3
+ install -D -m 0644 cdb.1 $pkgdir/usr/share/man/man1/cdb.1
+ install -D -m 0644 cdb.5 $pkgdir/usr/share/man/man5/cdb.5
+ install -D -m 0755 cdb $pkgdir/usr/bin/cdb
+ install -D -m 0644 libcdb.a $pkgdir/usr/lib/libcdb.a
+ install -D -m 0644 libcdb.so $pkgdir/usr/lib/libcdb.so
+ install -D -m 0644 libcdb.so.1 $pkgdir/usr/lib/libcdb.so.1
+}