diff --git a/srcpkgs/thingmenu-git/template b/srcpkgs/thingmenu-git/template new file mode 100644 index 00000000000..ad7695a6e2c --- /dev/null +++ b/srcpkgs/thingmenu-git/template @@ -0,0 +1,28 @@ +# Template file for 'thingmenu-git' +pkgname=thingmenu-git +version=20140708 +revision=1 +makedepends="libX11-devel libXtst-devel" +build_style=gnu-makefile +short_desc="A simple graphical menu launcher for X11" +maintainer="Ypnose " +license="MIT" +homepage="http://git.r-36.net/thingmenu/" +provides="thingmenu-${version}_${revision}" +replaces="thingmenu>=0" + +do_fetch() { + local url="git://git.r-36.net/thingmenu" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +pre_build() { + sed -i 's| -I/usr/include||g' config.mk + sed -i 's| -L/usr/lib||g' config.mk +} + +post_install() { + vbin thingmenu-menu.sh + vinstall LICENSE 644 usr/share/licenses/thingmenu +}