blob: 59d62f80f5981fb6a1fe9831fa797bb024e8bb72 (
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
|
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Maintainer (AUR): Mark Foxwell <fastfret79@archlinux.org.uk>
# Contributor (AUR): Nicolas Martyanoff <khaelin@gmail.com>
# Contributor (AUR): Rick Chen <stuffcorpse@archlinux.us>
# Justification for being in [libre]: is a dependency of libretools
pkgname=tokyocabinet
pkgver=1.4.48
pkgrel=4
pkgdesc="A modern implementation of DBM"
arch=('i686' 'x86_64' 'armv7h')
url="https://fallabs.com/tokyocabinet/"
license=('LGPL')
depends=('zlib' 'bzip2')
source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz")
sha256sums=('a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90')
build() {
cd "$srcdir/$pkgname-$pkgver"
[ "$CARCH" == "armv7h" ] && sed -i "s/-minline-all-stringops//g" configure
./configure --prefix=/usr --enable-off64 --enable-fastest
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|