# Template file for 'memtest86+'
pkgname=memtest86+
version=5.01
revision=6
archs="i686* x86_64*"
short_desc="Advanced Memory Diagnostic Tool - upstream binary"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.memtest.org"
distfiles="https://www.memtest.org/download/${version}/memtest86+-${version}.bin.gz"
checksum=78f6625b093de69537d99ed68e35b2a9e5d666504cb2533affab1967bd888fc8

create_wrksrc=yes
nostrip=yes
noverifyrdeps=yes

do_install() {
	vinstall memtest86+-5.01.bin 755 boot memtest86+
	vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
}
