# Contributor: Olivier Mauras <olivier@mauras.ch> # Maintainer: pkgname=lmdb pkgver=0.9.25 pkgrel=0 pkgdesc="Lightning Memory-Mapped Database" url="http://symas.com/mdb/" arch="all" license="OLDAP-2.8" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="https://git.openldap.org/openldap/openldap/-/archive/LMDB_$pkgver/openldap-LMDB_$pkgver.tar.bz2 lmdb_make.patch " builddir="$srcdir/openldap-LMDB_$pkgver/libraries/liblmdb" build() { make } check() { make test } package() { make DESTDIR="$pkgdir" install } tools() { mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } sha512sums="8ee369f77b6acc75d5330ccfdb0531c543642a27a434551d7e800bcaf737ab16afc688a15ba30c0398702d4da54d347cf57f388e1c9525d0334a2677ea3d751e openldap-LMDB_0.9.25.tar.bz2 151022cad94d2138146e3cd36622171f07fb03cc66d116ac9ce766c61a8b1aa65b521bfda88b27456204f53ecd430bdeddb4d7786956a12ed0cd53f8323ffd03 lmdb_make.patch"