void-packages/srcpkgs/rofi/template
UsernameRandomlyGenerated 967469c86e rofi: update to 1.7.3.
2022-02-05 00:10:01 +01:00

34 lines
980 B
Bash

# Template file for 'rofi'
pkgname=rofi
version=1.7.3
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="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=25868b68ff98338c5421211fa2f8286f9c5b6f900b4bfb7c99e0fe64eb4db67b
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
}
}