diff --git a/srcpkgs/vmtouch/template b/srcpkgs/vmtouch/template index 925d01c06c3..25878d9e92c 100644 --- a/srcpkgs/vmtouch/template +++ b/srcpkgs/vmtouch/template @@ -1,20 +1,23 @@ # Template file for 'vmtouch' pkgname=vmtouch -version=0.8.0 -wrksrc="${pkgname}-${pkgname}-${version}" +version=1.0.1 revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" maintainer="Dominik Honnef " license="BSD" +hostmakedepends="perl" homepage="http://hoytech.com/vmtouch/" short_desc="The Virtual Memory Toucher" -distfiles="https://github.com/hoytech/vmtouch/archive/vmtouch-0.8.0.tar.gz" -checksum=6848b9355451e8ab848501b5604f47a396bce1ef1dcb613577feaaaea1dfe262 +distfiles="https://github.com/hoytech/vmtouch/archive/vmtouch-${version}.tar.gz" +checksum=2d535ad441f282c2f821a29bca3c4c10e7f24ed933ecade09feb8fac6d36ef93 do_build() { - $CC $CFLAGS -o vmtouch vmtouch.c $LDFLAGS + make ${makejobs} build } do_install() { - vbin vmtouch - vman vmtouch.8 + make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share install + # for xlint: vlicense + vmkdir usr/share/licenses/vmtouch + sed -n '/^*/,/^*/p' vmtouch.c > ${DESTDIR}/usr/share/licenses/vmtouch/LICENSE }