From a2fb6a7fe460ebe4167b9de8c5188051a65b055a Mon Sep 17 00:00:00 2001 From: J Farkas Date: Wed, 18 Aug 2021 17:16:34 +0000 Subject: [PATCH] New package: timelimit 1.9.2 --- srcpkgs/timelimit/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/timelimit/template diff --git a/srcpkgs/timelimit/template b/srcpkgs/timelimit/template new file mode 100644 index 0000000000..2087aa9482 --- /dev/null +++ b/srcpkgs/timelimit/template @@ -0,0 +1,21 @@ +# 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 " +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 +}