# Template file for 'void-mklive'
pkgname=void-mklive
version=20130612
revision=1
build_style=gnu-makefile
make_install_args="PREFIX=/usr"
short_desc="The Void Linux live image maker"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="https://www.voidlinux.eu"

nofetch=yes
noextract=yes
makedepends="dracut>=027 grub-x86_64-efi squashfs-tools syslinux>=5 dosfstools xorriso xbps>=0.23"
replaces="vmklive>=0"

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

void-mklive_package() {
	noarch="yes"
	replaces="vmklive>=0"
	depends="${makedepends}"
	pkg_install() {
		vmove all
	}
}
