vmtouch: update to 1.3.1.

This commit is contained in:
maxice8 2018-11-17 13:49:45 -02:00 committed by maxice8
parent c6cb4137a4
commit 5e526eea95
2 changed files with 8 additions and 21 deletions

View File

@ -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

View File

@ -1,18 +1,16 @@
# Template file for 'vmtouch'
pkgname=vmtouch
version=1.3.0
version=1.3.1
revision=1
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD"
build_style=gnu-makefile
hostmakedepends="perl"
homepage="http://hoytech.com/vmtouch/"
short_desc="The Virtual Memory Toucher"
maintainer="Orphaned <orphan@voidlinux.eu>"
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
}