diff --git a/srcpkgs/rofi-git/template b/srcpkgs/rofi-git/template new file mode 100644 index 0000000000..d461e0ef46 --- /dev/null +++ b/srcpkgs/rofi-git/template @@ -0,0 +1,27 @@ +# Template file for 'rofi' +pkgname=rofi-git +version=20141116 +revision=1 +hostmakedepends="git automake pkg-config autoconf" +makedepends="libX11-devel pango-devel libXinerama-devel libXft-devel" +build_style=gnu-configure +short_desc="A window switcher, run dialog and dmenu replacement" +maintainer="Thomas Adam " +license="MIT" +homepage="https://davedavenport.github.io/rofi/" +provides="rofi-${version}_${revision}" +replaces="rofi>=0" + +pre_configure() { + autoreconf -fi +} + +do_fetch() { + local url="https://github.com/DaveDavenport/rofi" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +post_install() { + vlicense COPYING +}