void-packages/srcpkgs/thingmenu/template

25 lines
764 B
Bash

# Template file for 'thingmenu'
pkgname=thingmenu
version=0.8
revision=2
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='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="http://git.r-36.net/${pkgname}/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum="ec47a09e5aa499039230c11a1ab3af46430403745049735a59f22f0a6eac50ea"
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
}