diff --git a/srcpkgs/vmtouch/patches/fix-ldflags.patch b/srcpkgs/vmtouch/patches/fix-ldflags.patch deleted file mode 100644 index 49fdc2b991d..00000000000 --- a/srcpkgs/vmtouch/patches/fix-ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2016-05-24 14:45:53.763863505 +0200 -+++ Makefile 2016-05-24 14:46:02.136862879 +0200 -@@ -10,7 +10,7 @@ all: vmtouch vmtouch.8 - .PHONY: all install clean uninstall - - vmtouch: vmtouch.c -- ${CC} ${CFLAGS} -o vmtouch vmtouch.c -+ ${CC} ${CFLAGS} ${LDFLAGS} -o vmtouch vmtouch.c - - vmtouch.8: vmtouch.pod - pod2man --section 8 --center "System Manager's Manual" --release " " vmtouch.pod > vmtouch.8 diff --git a/srcpkgs/vmtouch/template b/srcpkgs/vmtouch/template index 8c278a51e67..eff280f34e7 100644 --- a/srcpkgs/vmtouch/template +++ b/srcpkgs/vmtouch/template @@ -1,18 +1,16 @@ # Template file for 'vmtouch' pkgname=vmtouch -version=1.3.0 +version=1.3.1 revision=1 -maintainer="Orphaned " -license="BSD" +build_style=gnu-makefile hostmakedepends="perl" -homepage="http://hoytech.com/vmtouch/" short_desc="The Virtual Memory Toucher" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="http://hoytech.com/vmtouch/" distfiles="https://github.com/hoytech/vmtouch/archive/v${version}.tar.gz" -checksum=4615980b8f824c8eb164e50ec0880bcb71591f4e3989a6075e5a3e2efd122ceb +checksum=d57b7b3ae1146c4516429ab7d6db6f2122401db814ddd9cdaad10980e9c8428c -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 +post_install() { + vlicense LICENSE }