# 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 <thomas.adam22@gmail.com>"
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
}
