diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-03 17:52:42 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-03 17:52:42 +0000 |
commit | fd173c7948bfc4c297ad94d9b1802234d6d79aa5 (patch) | |
tree | 6089ceabfedc533ac46b5c2d64f72db59e61fd46 /crossguid | |
parent | 8abfc544636d2247afc24f64b421949657f8c9bc (diff) | |
download | contrib-fd173c7948bfc4c297ad94d9b1802234d6d79aa5.tar.gz contrib-fd173c7948bfc4c297ad94d9b1802234d6d79aa5.tar.xz |
crossguid: updated cmake syntax
Diffstat (limited to 'crossguid')
-rw-r--r-- | crossguid/.signature | 4 | ||||
-rw-r--r-- | crossguid/Pkgfile | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/crossguid/.signature b/crossguid/.signature index 823b80cd7..8fa2a4aab 100644 --- a/crossguid/.signature +++ b/crossguid/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/5DHCdqIDWvULCHnCVro+G7E2+uu2eNhUImjRdNvencEDt7z/gu7Gt0bvW0SNikYX06u46CCc6fh78Lp4T8+Q4= -SHA256 (Pkgfile) = c3e01692b45c26cf2aca1504e6de02aed82582634a60d00a68707db95425c0f2 +RWSagIOpLGJF3/eUO9tdfgo4hAJq+BunElLgAabAQsBccbJIxEosPZKjGWrNCqFLLVTlDl5U6CgNQ5Y+bWTjl8i5wlb6P+Fk8wU= +SHA256 (Pkgfile) = dbc9fc6978ac5b261d5decf05038e228fe6184746709f040cd27a8c6878ec435 SHA256 (.footprint) = 8493818938895a7ffffb802ef89e8cc887d14324775495d043c4c0aafab78bd4 SHA256 (crossguid-0.2.2.tar.gz) = 48321928473c682b0cdc7e17bbd3390f79f4b98ab22fef3b81a852dda81fd195 diff --git a/crossguid/Pkgfile b/crossguid/Pkgfile index 45604d78b..c00c2cb01 100644 --- a/crossguid/Pkgfile +++ b/crossguid/Pkgfile @@ -9,7 +9,9 @@ release=1 source=(https://github.com/graeme-hill/crossguid/archive/v$version/$name-$version.tar.gz) build() { - cmake -S$name-$version -Bbuild + [[ -e /usr/bin/ninja ]] && PKGMK_CROSSGUID_OPTIONS=' -GNinja' + cmake -S$name-$version -Bbuild $PKGMK_CROSSGUID_OPTIONS \ + -DCMAKE_INSTALL_PREFIX=/usr cmake --build build install -D -m 0644 build/libxg.a $PKG/usr/lib/libxg.a install -D -m 0644 $name-$version/Guid.hpp $PKG/usr/include/Guid.hpp |