# Template file for 'memtest86+'
pkgname=memtest86+
version=7.00
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=19894151788a99c25c42644696527aba18cb210b2f9bca4a60e73586a6d78286
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
}
