26 lines
915 B
Bash
26 lines
915 B
Bash
# Template file for 'j4-dmenu-desktop'
|
|
pkgname=j4-dmenu-desktop
|
|
version=2.18
|
|
revision=1
|
|
wrksrc="${pkgname}-r${version}"
|
|
build_style=cmake
|
|
# The current version (2.18) needs to have /usr/share/applications dir
|
|
# for tests, xterm creates and populates it with its .desktop files,
|
|
# which fixes tests in case the dir does not exist.
|
|
# https://github.com/enkore/j4-dmenu-desktop/pull/123
|
|
depends="dmenu"
|
|
checkdepends="catch2 xterm"
|
|
short_desc="Fast desktop menu"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/enkore/j4-dmenu-desktop"
|
|
distfiles="https://github.com/enkore/j4-dmenu-desktop/archive/r${version}.tar.gz"
|
|
checksum=77c5605d0c1291bcf1e13b186ea3b32ddf4753de0d0e39127b4a7d2098393e25
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-DWITH_GIT_CATCH=OFF
|
|
-DCATCH_INCLUDE_DIR=$XBPS_CROSS_BASE/usr/include/catch2"
|
|
else
|
|
configure_args="-DWITH_TESTS=OFF"
|
|
fi
|