diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 11:20:50 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | 730b368965d2751886cdbdcf2c2e1ff89d29c827 (patch) | |
tree | 0905c163a98f2d000393f625c3b688b422a28d49 /j4-dmenu-desktop | |
parent | 85842bcc1433337d536a0e4b605ef4880fd08c5f (diff) | |
download | contrib-730b368965d2751886cdbdcf2c2e1ff89d29c827.tar.gz contrib-730b368965d2751886cdbdcf2c2e1ff89d29c827.tar.xz |
j4-dmenu-desktop: updated cmake syntax
Diffstat (limited to 'j4-dmenu-desktop')
-rw-r--r-- | j4-dmenu-desktop/.signature | 4 | ||||
-rw-r--r-- | j4-dmenu-desktop/Pkgfile | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/j4-dmenu-desktop/.signature b/j4-dmenu-desktop/.signature index a366f8db0..c64f46341 100644 --- a/j4-dmenu-desktop/.signature +++ b/j4-dmenu-desktop/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF34VYjINT5Hjw2Jj2QyYd2oVB+PmYiXOtfC5kUPGW8Z7Va9azOrMxvakaDyO1IvSMO5Zlq1LwXo/Ubu8frrbEzgM= -SHA256 (Pkgfile) = bf4f81d4b2e83e8059342b2664b940c178c88712ead406cc8355b247c91bd517 +RWSagIOpLGJF3yGqZklGgAlyy6x/qXxggLQzW4jwmrD6SEE3nWxpG+zsDwaC+VWk38h5I2aiznVbZtANRSGKsPFtRptwEIW1eQo= +SHA256 (Pkgfile) = 31e6cefa2ae845c4b435c551486fcbdb6f2f9a32d5bafa855474d201f770b90b SHA256 (.footprint) = 97adaf4f67cba564d20dd6550990d3c2fa5125e6b0c5292c14bf735bd1782a2f SHA256 (j4-dmenu-desktop-2.18.tar.gz) = 77c5605d0c1291bcf1e13b186ea3b32ddf4753de0d0e39127b4a7d2098393e25 diff --git a/j4-dmenu-desktop/Pkgfile b/j4-dmenu-desktop/Pkgfile index b1388aa5f..2a4d0d128 100644 --- a/j4-dmenu-desktop/Pkgfile +++ b/j4-dmenu-desktop/Pkgfile @@ -9,10 +9,14 @@ release=1 source=(https://github.com/enkore/j4-dmenu-desktop/archive/r$version/$name-$version.tar.gz) build() { - [[ -e /usr/bin/ninja ]] && PKGMK_J4DD_OPTIONS=' -GNinja' - cmake -S$name-r$version -Bbuild $PKGMK_J4DD_OPTIONS \ + [[ -e /usr/bin/ninja ]] && PKGMK_J4DD=' -G Ninja' + cmake -S $name-r$version -B build $PKGMK_J4DD \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DWITH_TESTS="no" + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -DWITH_TESTS="no" \ + -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build } |