diff --git a/srcpkgs/leveldb/template b/srcpkgs/leveldb/template index 03330227ad..636ce1feec 100644 --- a/srcpkgs/leveldb/template +++ b/srcpkgs/leveldb/template @@ -1,17 +1,14 @@ # Template file for 'leveldb' pkgname=leveldb -version=1.15.0 +version=1.18 revision=1 +build_style=gnu-makefile short_desc="A fast and lightweight key/value database library by Google" maintainer="Juan RP " license="BSD" -homepage="http://code.google.com/p/leveldb" -distfiles="http://leveldb.googlecode.com/files/${pkgname}-${version}.tar.gz" -checksum=d7c4ec571ef2ee9719f31db06344a1eba495e6abeeac1bc349d0d38a911c6680 - -do_build() { - make ${makejobs} -} +homepage="https://github.com/google/leveldb" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5 do_install() { vmkdir usr/lib @@ -29,7 +26,7 @@ do_install() { cp -r doc/* ${DESTDIR}/usr/share/doc/${pkgname} # license - vinstall LICENSE 644 usr/share/licenses/${pkgname} + vlicense LICENSE } leveldb-devel_package() {