void-packages/srcpkgs/rofi/template

35 lines
981 B
Bash

# Template file for 'rofi'
pkgname=rofi
version=1.7.5
revision=1
build_style=gnu-configure
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="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://github.com/davatorium/rofi"
distfiles="https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.xz"
checksum=caffcf66d165cb32b748c1db7f229d6d75da58c1685eb17455f65c60e8220c8d
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
}
}