# Template file for 'lynis'
pkgname=lynis
version=3.1.0
revision=1
short_desc="System and security auditing tool"
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
license="GPL-3.0-only"
homepage="https://cisofy.com/lynis/"
changelog="https://raw.githubusercontent.com/CISOfy/lynis/master/CHANGELOG.md"
distfiles="https://github.com/CISOfy/lynis/archive/refs/tags/${version}.tar.gz"
checksum=bc197423b5767d42e8ae5fabc9eb40c494af9ff1543d3679cbfb97a3ba72f20e

do_install() {
	vmkdir etc/lynis
	vinstall default.prf 0644 etc/lynis
	vmkdir usr/share/lynis
	vcopy include usr/share/lynis/
	vcopy plugins usr/share/lynis/
	vcopy db usr/share/lynis/
	vbin lynis
	vman lynis.8
	vdoc FAQ
	vcompletion extras/bash_completion.d/lynis bash
}
