void-packages/srcpkgs/bemenu/template

26 lines
871 B
Bash

# Template file for 'bemenu'
pkgname=bemenu
version=0.3.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=0 -DBEMENU_CURSES_RENDERER=1
-DBEMENU_X11_RENDERER=1 -DBEMENU_WAYLAND_RENDERER=1"
hostmakedepends="pkg-config wayland-devel"
makedepends="ncurses-devel cairo-devel pango-devel
libxkbcommon-devel libXinerama-devel wayland-devel"
short_desc="Dynamic menu library and client program inspired by dmenu"
maintainer="Issam Maghni <me@concati.me>"
license="GPL-3.0-or-later, LGPL-3.0-or-later"
homepage="https://github.com/Cloudef/${pkgname}"
distfiles="https://github.com/Cloudef/bemenu/archive/${version}.tar.gz"
checksum=a57ae85ca14b4adb6c32bc40138d49ec51dd2e2b0d211557c8f92489f4c3fb84
bemenu-devel_package() {
depends="bemenu-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}