void-packages/srcpkgs/bootiso/template

31 lines
916 B
Bash

# Template file for 'bootiso'
pkgname=bootiso
version=3.2.2
revision=1
noarch=yes
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=50d3d4ce855db8b3328e4f7bbe677de2531a341276cc2b546e5fefc9f593a9f9
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}"
}