void-packages/srcpkgs/thingmenu/template

26 lines
765 B
Bash
Raw Normal View History

2015-06-13 10:23:11 +00:00
# Template file for 'thingmenu'
pkgname=thingmenu
version=0.8
2015-06-14 10:29:38 +00:00
revision=2
2015-06-13 10:23:11 +00:00
makedepends="libX11-devel libXtst-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="A simple graphical menu launcher for X11"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="http://git.r-36.net/${pkgname}/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum="ec47a09e5aa499039230c11a1ab3af46430403745049735a59f22f0a6eac50ea"
2015-06-14 10:29:38 +00:00
replaces="thingmenu-git>=0"
2015-06-13 10:23:11 +00:00
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
}