diff --git a/srcpkgs/lmdb/template b/srcpkgs/lmdb/template index f25f0b109e3..9206c450e8e 100644 --- a/srcpkgs/lmdb/template +++ b/srcpkgs/lmdb/template @@ -1,16 +1,16 @@ # Template file for 'lmdb' pkgname=lmdb -version=0.9.14 +version=0.9.15 revision=1 +wrksrc="lmdb-LMDB_${version}" hostmakedepends="git" short_desc="Lightning Memory-Mapped Database Manager" maintainer="Juan RP " license="OpenLDAP 2.8 license" homepage="http://symas.com/mdb/" +distfiles="https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz" +checksum=a72b13db91e7c445e47194178915556b4ebcd6f9f64d48f60b1f830b0cfbd75a -do_fetch() { - git clone -b LMDB_${version} git://gitorious.org/mdb/mdb.git lmdb-${version} -} do_build() { cd libraries/liblmdb make XCFLAGS="$CFLAGS" CC="$CC" @@ -19,8 +19,8 @@ do_install() { cd libraries/liblmdb make DESTDIR=${DESTDIR} prefix=/usr install - vinstall LICENSE 644 usr/share/licenses/lmdb - vinstall COPYRIGHT 644 usr/share/licenses/lmdb + vlicense LICENSE + vlicense COPYRIGHT } lmdb-devel_package() {