void-packages/srcpkgs/vmtouch/template
2017-03-16 20:36:10 +00:00

18 lines
570 B
Bash

# Template file for 'vmtouch'
pkgname=vmtouch
version=1.3.0
revision=1
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD"
hostmakedepends="perl"
homepage="http://hoytech.com/vmtouch/"
short_desc="The Virtual Memory Toucher"
distfiles="https://github.com/hoytech/vmtouch/archive/v${version}.tar.gz"
checksum=4615980b8f824c8eb164e50ec0880bcb71591f4e3989a6075e5a3e2efd122ceb
do_install() {
make PREFIX=${DESTDIR}/usr install
# for xlint: vlicense
vmkdir usr/share/licenses/vmtouch
sed -n '/^*/,/^*/p' vmtouch.c > ${DESTDIR}/usr/share/licenses/vmtouch/LICENSE
}