Merge pull request #97 from muttleyxd/fix-pistache-pkgbuild

pistache: move lib64/ to lib/
This commit is contained in:
Martchus 2019-06-26 10:25:19 +02:00 committed by GitHub
commit 92c91bb776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@
pkgname=pistache-git
_name=${pkgname%-git}
pkgver=223.7184600
pkgver=985.c5927e1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Modern and elegant HTTP and REST framework for C++'
@ -26,9 +26,6 @@ pkgver() {
build() {
cd "${srcdir}/${_name}"
# since this is only a small lib and ABI seems very unstable at this point
# it should be ok to build it only as a static lib for now
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DPISTACHE_BUILD_TESTS=true \
@ -44,4 +41,5 @@ check() {
package() {
cd "${srcdir}/${_name}"
make DESTDIR="${pkgdir}" install
mv ${pkgdir}/usr/lib{64,}
}