summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Bernardoff2015-06-27 09:51:56 +0200
committerVincent Bernardoff2015-06-27 09:51:56 +0200
commitc192b83ab3f5650fb8eab5df4af933d0c1d1ed8b (patch)
treef0e4600ec6f5cbe41301eeeac1fa1399f921f4ba
downloadaur-c192b83ab3f5650fb8eab5df4af933d0c1d1ed8b.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD42
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5c14462267c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = tokyocabinet-git
+ pkgdesc = a modern implementation of DBM
+ pkgver = 1.4.48.r15.gd303368
+ pkgrel = 1
+ url = http://fallabs.com/tokyocabinet/
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = LGPL
+ makedepends = gcc>=3.1
+ makedepends = make
+ makedepends = pkgconfig
+ makedepends = git
+ depends = zlib
+ depends = bzip2
+ provides = tokyocabinet=1.4.48
+ conflicts = tokyocabinet
+ source = tokyocabinet-git::git+git://github.com/Incubaid/tokyocabinet
+ md5sums = SKIP
+
+pkgname = tokyocabinet-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bffa0b0e31a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Vincent Bernardoff <vb@luminar.eu.org>
+# Contributor: Mark Foxwell <fastfret79@archlinux.org.uk>
+# Contributor: Nicolas Martyanoff <khaelin@gmail.com>
+# Contributor: Rick Chen <stuffcorpse@archlinux.us>
+
+pkgname=tokyocabinet-git
+pkgver=1.4.48.r15.gd303368
+pkgrel=1
+pkgdesc="a modern implementation of DBM"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://fallabs.com/tokyocabinet/"
+license=('LGPL')
+makedepends=('gcc>=3.1' 'make' 'pkgconfig' 'git')
+depends=('zlib' 'bzip2')
+source=("$pkgname"::'git+git://github.com/Incubaid/tokyocabinet')
+conflicts=('tokyocabinet')
+provides=('tokyocabinet=1.4.48')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --enable-off64
+ make
+}
+
+# uncomment check routine if needed (can take ~5mins to run check)
+# check() {
+# cd "$srcdir/$pkgname"
+# make -k check
+# }
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: