void-packages/srcpkgs/thingmenu/template
2018-12-08 09:57:25 -02:00

26 lines
787 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="Juan RP <xtraeme@voidlinux.eu>"
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
}