# Maintainer: Mark Foxwell # Contributor: Nicolas Martyanoff pkgname=tokyocabinet pkgver=1.4.47 pkgrel=1 pkgdesc="a modern implementation of DBM" arch=('i686' 'x86_64') url="http://fallabs.com/tokyocabinet/" license=('LGPL') makedepends=('gcc>=3.1' 'make' 'pkgconfig') depends=('zlib' 'bzip2') source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz") md5sums=('3d94fe2aebf5d9ff0478ed895bc46fc9') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --enable-off64 --enable-fastest make } # uncomment check routine if needed (can take ~5mins to run check) check() { cd "$srcdir/$pkgname-$pkgver" make -k check } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } # vim:set ts=2 sw=2 et: