void-packages/srcpkgs/rofi/template
Arda Demir cafdc4c3d2 rofi: update to 1.7.2.
Closes: #34499 [via git-merge-pr]
2021-12-13 08:19:00 -05:00

34 lines
980 B
Bash

# Template file for 'rofi'
pkgname=rofi
version=1.7.2
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=adfa04b2b3fb5f8ef4be356885e7473f611fc93ab32815027f1d7deba94fd7cd
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
}
}