void-packages/srcpkgs/rofi/template

36 lines
1023 B
Bash

# Template file for 'rofi'
pkgname=rofi
version=1.7.0
revision=1
build_style=gnu-configure
make_check_args="XFAIL_TESTS=textbox_test"
hostmakedepends="autoconf automake flex glib-devel pkg-config which"
makedepends="libXinerama-devel librsvg-devel
libxkbcommon-devel pango-devel startup-notification-devel
xcb-util-wm-devel xcb-util-xrm-devel xcb-util-cursor-devel"
short_desc="Window switcher, run dialog and dmenu replacement"
maintainer="Dave Davenport <qball@gmpclient.org>"
license="MIT"
homepage="https://github.com/davatorium/rofi"
distfiles="https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.xz"
checksum=aabb95b35fc30da2de75292b97d9a3f0f367805a40ffe9ee68d8213ddbc049a4
if [ "$XBPS_CHECK_PKGS" ]; then
makedepends+=" check-devel"
else
configure_args+=" --disable-check"
fi
post_install() {
vlicense COPYING
}
rofi-devel_package() {
short_desc+=" - development files"
depends="libglib-devel cairo-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}