diff options
author | Martchus | 2019-08-14 02:01:33 +0200 |
---|---|---|
committer | Martchus | 2019-08-14 02:01:33 +0200 |
commit | 0242bcf47808b478eb3a4eec8e658539b6bd93f3 (patch) | |
tree | 7d8fe5e49a5a9af195e111db4d1d2395ec6b616f | |
parent | 39a1dcbd917c08801f91d6888f4685aa0ce5b304 (diff) | |
download | aur-0242bcf47808b478eb3a4eec8e658539b6bd93f3.tar.gz |
Keep static library
See https://github.com/Martchus/PKGBUILDs/issues/101
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = pistache-git pkgdesc = Modern and elegant HTTP and REST framework for C++ - pkgver = 985.c5927e1 + pkgver = 1030.399d04e pkgrel = 1 url = https://github.com/oktal/pistache arch = i686 @@ -11,6 +11,7 @@ pkgbase = pistache-git makedepends = git provides = pistache conflicts = pistache + options = staticlibs source = pistache::git://github.com/oktal/pistache.git sha256sums = SKIP @@ -5,7 +5,7 @@ pkgname=pistache-git _name=${pkgname%-git} -pkgver=985.c5927e1 +pkgver=1030.399d04e pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Modern and elegant HTTP and REST framework for C++' @@ -15,6 +15,7 @@ makedepends=('cmake' 'git') checkdepends=('gtest') provides=("${_name}") conflicts=("${_name}") +options=(staticlibs) url="https://github.com/oktal/${_name}" source=("${_name}::git://github.com/oktal/${_name}.git") sha256sums=('SKIP') @@ -29,8 +30,10 @@ build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DPISTACHE_BUILD_TESTS=true \ - -DCMAKE_INSTALL_PREFIX="/usr" + -DPISTACHE_USE_SSL=true \ + . make } |