void-packages/srcpkgs/timelimit/template
2021-09-25 14:32:15 +02:00

21 lines
614 B
Bash

# Template file for 'timelimit'
pkgname=timelimit
version=1.9.2
revision=1
build_style=gnu-makefile
make_install_args="STRIP=-s MANDIR=/usr/share/man"
checkdepends="perl"
short_desc="Limit command execution time"
maintainer="J Farkas <chexum+git@gmail.com>"
license="BSD-2-Clause"
homepage="http://devel.ringlet.net/sysutils/timelimit/"
distfiles="https://devel.ringlet.net/files/sys/timelimit/timelimit-${version}.tar.xz"
checksum=9cdd1f06049b9e1a4b7a8a93a0d4d0e1920bd617e7cd005525261a3f91386796
post_extract() {
head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE
}
post_install() {
vlicense LICENSE
}