# Template file for 'bootiso'
pkgname=bootiso
version=3.3.1
revision=1
archs=noarch
depends="bash coreutils curl dosfstools e2fsprogs eudev exfat-utils f2fs-tools
 file findutils gawk grep mtools ntfs-3g parted rsync syslinux tar util-linux
 wimlib"
short_desc="Create a USB bootable device from an ISO image easily and securely"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="MIT"
homepage="https://github.com/jsamr/bootiso"
changelog="https://github.com/jsamr/bootiso/raw/master/changelog.md"
distfiles="https://github.com/jsamr/bootiso/archive/v${version}.tar.gz"
checksum=b716d23b4ab65543b5571f302f5d26a43bea9f9ea91bffe999d5faff99f2bdda

case "$XBPS_TARGET_MACHINE" in
	i686*|x86_64*) ;;
	*) broken="requires syslinux which is not available on $XBPS_TARGET_MACHINE" ;;
esac

do_install() {
	vbin bootiso
}

post_install() {
	vlicense LICENSE
	vdoc readme.md
	vcopy images/ "usr/share/doc/${pkgname}"
}
