# Template file for 'void-installer'
pkgname=void-installer
version="$(date -u +%Y%m%d)"
short_desc="The Void Linux installer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps/wiki/VoidLinux"
license="Simplified BSD"
long_desc="
 The Void Linux installer - a dialog based and simple installer."

nofetch=yes
noextract=yes
noarch=yes

Add_dependency full dialog
Add_dependency build git

do_fetch() {
	local url="git://github.com/xtraeme/void-installer"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

do_install() {
	make DESTDIR=$DESTDIR install
}
