void-packages/srcpkgs/thingmenu/template

27 lines
788 B
Bash

# Template file for 'thingmenu'
pkgname=thingmenu
version=0.8
revision=3
wrksrc="thingmenu-v${version}"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
makedepends="libX11-devel libXtst-devel"
short_desc="A simple graphical menu launcher for X11"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://git.r-36.net/thingmenu/"
distfiles="ftp://bitreich.org/releases/thingmenu/thingmenu-v${version}.tgz"
checksum=17b6468d0778bad835b04556b4aa836747f3160158e90e4891b07f8c59629961
replaces="thingmenu-git>=0"
pre_build() {
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vbin thingmenu-menu.sh
vlicense LICENSE
}