aboutsummaryrefslogtreecommitdiffstats
path: root/testing/leveldb/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-09 18:51:47 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-03-09 18:52:38 +0000
commit759e0d8b17a16591bacee43732c49a3b20880216 (patch)
tree9329a27a247b79dd13ff8ae7176ed02cbd95b2d6 /testing/leveldb/APKBUILD
parent8a56ef50e50b68a02568b5904fb8bbe2adf97177 (diff)
downloadaports-759e0d8b17a16591bacee43732c49a3b20880216.tar.bz2
aports-759e0d8b17a16591bacee43732c49a3b20880216.tar.xz
testing/leveldb: upgrade to 1.18
fixes #5218
Diffstat (limited to 'testing/leveldb/APKBUILD')
-rw-r--r--testing/leveldb/APKBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/testing/leveldb/APKBUILD b/testing/leveldb/APKBUILD
index 8c83313f4a..bb52b3b926 100644
--- a/testing/leveldb/APKBUILD
+++ b/testing/leveldb/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=leveldb
-pkgver=1.12.0
+pkgver=1.18
pkgrel=0
pkgdesc="A fast and lightweight key/value database library by Google"
-url="http://code.google.com/p/leveldb/"
+url="https://github.com/google/leveldb"
arch="all"
license="BSD"
depends=""
@@ -12,18 +12,9 @@ depends_dev=""
makedepends="$depends_dev snappy-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://leveldb.googlecode.com/files/leveldb-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/leveldb-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build() {
cd "$_builddir"
@@ -39,6 +30,6 @@ package() {
}
-md5sums="940a93e3538636e1d6d3407ca41b6397 leveldb-1.12.0.tar.gz"
-sha256sums="a50b44bcae9680c2872081df98395a34a1ac3162ea41f646676e53fb5f691108 leveldb-1.12.0.tar.gz"
-sha512sums="b0798ecc598a7dcee38887867521face02b11ec93bc55e28fb3e1e16fb9c4d2068564f7779849a0dc0d758ee9665c2297c004947bedd149e392c129fc39a921f leveldb-1.12.0.tar.gz"
+md5sums="73770de34a2a5ab34498d2e05b2b7fa0 leveldb-1.18.tar.gz"
+sha256sums="4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5 leveldb-1.18.tar.gz"
+sha512sums="3d9c55a7bf8692914784ec33c273704ce9978496b071c7b661708f049d0d4ccd51a44441f50c3e536725caeb9896575192f52708a4bb1c0222cecdeec89919a3 leveldb-1.18.tar.gz"