From 08db46ac8a3d1a2e8353a494328bc2af59b02731 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 000000000000..4872b2e89f5a --- /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" +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 +make_check=no + +post_extract() { + head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE +} + +post_install() { + vlicense LICENSE +}