From d0c826509a71e3aab240efdd9276334a0005c3dc Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Sun, 16 Nov 2014 17:00:32 +0000 Subject: [PATCH] New package: rofi --- srcpkgs/rofi-git/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/rofi-git/template diff --git a/srcpkgs/rofi-git/template b/srcpkgs/rofi-git/template new file mode 100644 index 00000000000..d461e0ef46c --- /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 +}