# Template file for 'memtest86+'
pkgname=memtest86+
version=6.20
revision=1
archs="i686* x86_64*"
short_desc="Advanced Memory Diagnostic Tool - upstream binary"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
homepage="http://www.memtest.org"
distfiles="https://www.memtest.org/download/v${version}/mt86plus_${version}.binaries.zip"
checksum=ccabd43063b65e53be4fddb08de0cc6bedc94b4ab44706855e4145e17fa52c72
nostrip=yes
noverifyrdeps=yes

do_install() {
	vinstall "memtest${XBPS_TARGET_WORDSIZE}.bin" 755 boot memtest.bin
	vinstall "memtest${XBPS_TARGET_WORDSIZE}.efi" 755 boot memtest.efi
	vinstall "${FILESDIR}/20_memtest86+" 755 etc/grub.d
}
