summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Jonglez2016-11-12 21:03:05 +0100
committerBaptiste Jonglez2016-11-12 21:06:24 +0100
commit60149505768e3e442d29f7ed615bb63a89371e34 (patch)
treef3b14382ad66f951b63019796bd4e4332f40f923
parent7985d1a8afcdabfdfae386d85eb0d9d6509008da (diff)
downloadaur-60149505768e3e442d29f7ed615bb63a89371e34.tar.gz
opendht-git: Fix lib install directory
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f6e9a2d41e3b..c93febab1176 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Aug 19 15:20:37 UTC 2016
+# Sat Nov 12 20:03:06 UTC 2016
pkgbase = opendht-git
pkgdesc = A C++11 implementation of the Kademlia DHT (Distributed Hash Table)
- pkgver = 20160818
+ pkgver = 20161110
pkgrel = 1
url = https://github.com/savoirfairelinux/opendht
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 77568307dc77..c42132d53f09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=opendht-git
-pkgver=20160818
+pkgver=20161110
pkgrel=1
pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
arch=('i686' 'x86_64')
@@ -29,7 +29,8 @@ build() {
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DOPENDHT_PYTHON=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
make
}
@@ -42,7 +43,7 @@ package() {
cd ..
msg2 'Installing documentation...'
- install -D -m655 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
+ install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
msg2 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +