summaryrefslogtreecommitdiff
path: root/extra/leveldb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/leveldb/PKGBUILD')
-rw-r--r--extra/leveldb/PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/extra/leveldb/PKGBUILD b/extra/leveldb/PKGBUILD
index 532c3c98f..abce75267 100644
--- a/extra/leveldb/PKGBUILD
+++ b/extra/leveldb/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 169703 2012-10-26 19:01:07Z dreisner $
+# $Id: PKGBUILD 178002 2013-02-13 01:27:04Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: feydaykyn <feydaykyn@yahoo.fr>
pkgname=leveldb
-pkgver=1.7.0
+pkgver=1.9.0
pkgrel=1
pkgdesc="A fast and lightweight key/value database library"
arch=('i686' 'x86_64')
@@ -11,12 +11,9 @@ url="https://code.google.com/p/leveldb/"
license=('BSD')
depends=('gperftools' 'snappy')
source=("https://leveldb.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha1sums=('82332ac97d48ad5da02aab4785658c06d0351be1')
+sha1sums=('4d832277120912211998a2334fb975b995d51885')
build() {
- # buildsys doesn't play nicely with -Wl,--as-needed
- LDFLAGS=-Wl,-O1,--sort-common,-z,relro
-
make -C "$pkgname-$pkgver"
}
@@ -32,7 +29,7 @@ package() {
"$pkgdir"/usr/share/doc/"$pkgname"
# libraries
- install -m755 -t "$pkgdir/usr/lib" "libleveldb.so.${pkgver%.?*}" libleveldb.a
+ install -m644 -t "$pkgdir/usr/lib" "libleveldb.so.${pkgver%.?*}" libleveldb.a
cp -P libleveldb.so{,.1} "$pkgdir/usr/lib"
# headers