diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-03 20:59:22 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-03 20:59:41 +0000 |
commit | 241d84e4157618a09a84ec242debb6dad6535d73 (patch) | |
tree | 388a04d9878e681b62a9538c3c9b234184a7b2e8 /testing/leveldb | |
parent | 3cea60cb83d5ed819d6adac6a70e637d626561bd (diff) | |
download | aports-241d84e4157618a09a84ec242debb6dad6535d73.tar.bz2 aports-241d84e4157618a09a84ec242debb6dad6535d73.tar.xz |
testing/leveldb: upgrade to 1.20 and modernize
Diffstat (limited to 'testing/leveldb')
-rw-r--r-- | testing/leveldb/APKBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/testing/leveldb/APKBUILD b/testing/leveldb/APKBUILD index bb52b3b926..391cf7ca0a 100644 --- a/testing/leveldb/APKBUILD +++ b/testing/leveldb/APKBUILD @@ -1,35 +1,30 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: pkgname=leveldb -pkgver=1.18 +pkgver=1.20 pkgrel=0 pkgdesc="A fast and lightweight key/value database library by Google" url="https://github.com/google/leveldb" arch="all" license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev snappy-dev" -install="" +makedepends="snappy-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/leveldb-$pkgver +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - make || return 1 + cd "$builddir" + make } package() { - cd "$_builddir" + cd "$builddir" mkdir -p "$pkgdir"/usr/lib "$pkgdir"/usr/share/doc - cp -a lib*.so* "$pkgdir"/usr/lib || return 1 - cp -a include "$pkgdir"/usr/ || return 1 - cp -a doc "$pkgdir"/usr/share/doc/$pkgname || return 1 + cp -a out-shared/lib*.so* "$pkgdir"/usr/lib + cp -a include "$pkgdir"/usr/ + cp -a doc "$pkgdir"/usr/share/doc/$pkgname } -md5sums="73770de34a2a5ab34498d2e05b2b7fa0 leveldb-1.18.tar.gz" -sha256sums="4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5 leveldb-1.18.tar.gz" -sha512sums="3d9c55a7bf8692914784ec33c273704ce9978496b071c7b661708f049d0d4ccd51a44441f50c3e536725caeb9896575192f52708a4bb1c0222cecdeec89919a3 leveldb-1.18.tar.gz" +sha512sums="c59258f2f58ce2d5680e9ab3da4ab0923d91cd4648dcf63cdaa26cdde92bf45e094544539ad11d8e09a4a4813435286143ed0e86c21c6c31a0596903ed4744d2 leveldb-1.20.tar.gz" |