diff --git a/srcpkgs/void-mklive/template b/srcpkgs/void-mklive/template index cb918e0a7ca..c8aa15412a3 100644 --- a/srcpkgs/void-mklive/template +++ b/srcpkgs/void-mklive/template @@ -1,18 +1,25 @@ # Template file for 'void-mklive' pkgname=void-mklive -version=0.9.7 +version="$(date -u +%Y%m%d)" revision=1 -build_style=gnu-makefile noarch=yes +nofetch=yes +noextract=yes +build_style=gnu-makefile depends="dracut>=019 cdrtools squashfs-tools syslinux>=4.05_2" +makedepends="git" replaces="vmklive>=0" short_desc="The Void Linux live image maker" maintainer="Juan RP " license="Simplified BSD" homepage="https://voidlinux.github.com/" -distfiles="https://github.com/downloads/voidlinux/$pkgname/$pkgname-$version.tar.xz" -checksum=a562feadf1d4bc47b72908f7950211cfd0a4efe408da05da1aa7e9714d0ed965 long_desc=" This is a simple shell script to build a live image for the Void linux distribution. The images contain the void-installer package to be able to install Void linux to storage disks." + +do_fetch() { + local url="git://github.com/voidlinux/void-mklive" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +}