pistache: move lib64/ to lib/

/usr/lib64/ is owned by 'filesystem' package

also removed unnecessary comment, now library builds shared library
by default
This commit is contained in:
muttley 2019-06-26 10:06:20 +02:00
parent 9339ed8e97
commit a41572b5d1
1 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@
pkgname=pistache-git pkgname=pistache-git
_name=${pkgname%-git} _name=${pkgname%-git}
pkgver=223.7184600 pkgver=985.c5927e1
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc='Modern and elegant HTTP and REST framework for C++' pkgdesc='Modern and elegant HTTP and REST framework for C++'
@ -26,9 +26,6 @@ pkgver() {
build() { build() {
cd "${srcdir}/${_name}" 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 \ cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DPISTACHE_BUILD_TESTS=true \ -DPISTACHE_BUILD_TESTS=true \
@ -44,4 +41,5 @@ check() {
package() { package() {
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
mv ${pkgdir}/usr/lib{64,}
} }