New package: cnping-1.0.0

This commit is contained in:
Jan Christian Gr??nhage 2019-08-12 21:17:49 +02:00 committed by John Zimmermann
parent 24e2803f23
commit 7036482dbc
2 changed files with 24 additions and 0 deletions

5
srcpkgs/cnping/INSTALL Normal file
View file

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
setcap cap_net_raw+ep usr/bin/cnping
;;
esac

19
srcpkgs/cnping/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'cnping'
pkgname=cnping
version=1.0.0
revision=1
build_style=gnu-makefile
makedepends="libXinerama-devel libX11-devel"
depends="libcap-progs"
short_desc="Minimal Graphical IPV4 Ping Tool"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, BSD-3-Clause"
homepage="https://github.com/cnlohr/cnping"
distfiles="https://github.com/cnlohr/cnping/archive/${version}.tar.gz"
checksum=43e4737e27a2ab5bd8f90c73efa0ce998c2cc1d767e4948f50ded0d29e683e2d
do_install() {
vbin cnping
vlicense LICENSE.MIT
vlicense LICENSE.BSD-3-Clause
}