diff --git a/srcpkgs/void-installer/template b/srcpkgs/void-installer/template new file mode 100644 index 00000000000..d4409f8cc46 --- /dev/null +++ b/srcpkgs/void-installer/template @@ -0,0 +1,26 @@ +# Template file for 'void-installer' +pkgname=void-installer +version="$(date -u +%Y%m%d)" +short_desc="The Void Linux installer" +maintainer="Juan RP " +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 run 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 +}