diff options
author | Michał Walenciak | 2022-12-31 22:32:49 +0100 |
---|---|---|
committer | Michał Walenciak | 2022-12-31 22:32:49 +0100 |
commit | c6343a2a199879fce83da7c7de41bbe917d51a62 (patch) | |
tree | 19667b1bd65c5a1c4b751eda0e47cdae934c5fca | |
parent | ef4104797f4fb833d7c47024697061fbc9289d70 (diff) | |
download | aur-cppgraphqlgen.tar.gz |
Use shared libraries, fix dependencies
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 11 insertions, 17 deletions
@@ -1,15 +1,15 @@ pkgbase = cppgraphqlgen pkgdesc = Set of GraphQL libraries and tools pkgver = 4.5.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/microsoft/cppgraphqlgen arch = i686 arch = x86_64 license = MIT makedepends = cmake - makedepends = pegtl makedepends = rapidjson depends = boost-libs + depends = pegtl source = https://codeload.github.com/microsoft/cppgraphqlgen/tar.gz/v4.5.0 md5sums = 45b0994a06acd0a2602b2bca126f897b @@ -1,26 +1,20 @@ # Maintainer: Michał Walenciak <kicer86@gmail.com> pkgname=cppgraphqlgen pkgver=4.5.0 -pkgrel=2 +pkgrel=3 pkgdesc="Set of GraphQL libraries and tools" arch=('i686' 'x86_64') url="https://github.com/microsoft/cppgraphqlgen" license=('MIT') -groups=() -depends=('boost-libs') -makedepends=('cmake' +depends=( + 'boost-libs' 'pegtl' - 'rapidjson') -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= +) +makedepends=( + 'cmake' + 'rapidjson' +) source=(https://codeload.github.com/microsoft/$pkgname/tar.gz/v$pkgver) -noextract=() md5sums=('45b0994a06acd0a2602b2bca126f897b') build() @@ -28,7 +22,7 @@ build() cd $pkgname-$pkgver mkdir -p build cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DGRAPHQL_INSTALL_TOOLS_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=None -Wno-dev .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DGRAPHQL_INSTALL_TOOLS_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=None -DBUILD_SHARED_LIBS=ON -Wno-dev .. make } |