summaryrefslogtreecommitdiff
path: root/libre/tokyocabinet
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 21:19:49 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 21:19:49 -0400
commit3562ac69eef47279bf1f9f820f36f8d456da4d77 (patch)
tree34f4e0551ae113f6fee423f3df85bc6a6cf62ae2 /libre/tokyocabinet
parentc38dfc46375e6becdf1d2d2f493167fb58382e85 (diff)
downloadabslibre-3562ac69eef47279bf1f9f820f36f8d456da4d77.tar.gz
abslibre-3562ac69eef47279bf1f9f820f36f8d456da4d77.tar.bz2
abslibre-3562ac69eef47279bf1f9f820f36f8d456da4d77.zip
libre/tokyocabinet: adopt, tidy up
Diffstat (limited to 'libre/tokyocabinet')
-rw-r--r--libre/tokyocabinet/PKGBUILD25
1 files changed, 10 insertions, 15 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD
index 02cf19da8..397ea9417 100644
--- a/libre/tokyocabinet/PKGBUILD
+++ b/libre/tokyocabinet/PKGBUILD
@@ -1,33 +1,28 @@
-# Maintainer (Arch): Mark Foxwell <fastfret79@archlinux.org.uk>
-# Contributor (Arch): Nicolas Martyanoff <khaelin@gmail.com>
+# 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>
pkgname=tokyocabinet
pkgver=1.4.48
-pkgrel=2
-pkgdesc="a modern implementation of DBM"
-arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h')
-url="http://fallabs.com/tokyocabinet/"
+pkgrel=3
+pkgdesc="A modern implementation of DBM"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://fallabs.com/tokyocabinet/"
license=('LGPL')
-makedepends=('gcc>=3.1' 'make' 'pkgconfig')
depends=('zlib' 'bzip2')
source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz")
md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e')
build() {
cd "$srcdir/$pkgname-$pkgver"
-
- [ "$CARCH" != "mips64el" ] && extra=--enable-fastest
- [ "$CARCH" != "armv6h" ] && sed -i "s/-minline-all-stringops//g" configure
- [ "$CARCH" != "armv7h" ] && sed -i "s/-minline-all-stringops//g" configure
-
- ./configure --prefix=/usr --enable-off64 $extra
+ ./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
+ make check
}
package() {