void-packages/srcpkgs/rkhunter/template

20 lines
594 B
Bash

# Template file for 'rkhunter'
pkgname=rkhunter
version=1.4.6
revision=3
conf_files="/etc/rkhunter.conf"
make_dirs="/var/lib/rkhunter/tmp 0750 root root"
depends="bash perl curl"
short_desc="RootKit Hunter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://rkhunter.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f750aa3e22f839b637a073647510d7aa3adf7496e21f3c875b7a368c71d37487
do_install() {
DEB_BUILD_ROOT=${DESTDIR} \
./installer.sh --layout DEB --install
rm -r "$DESTDIR/var/lib/rkhunter/tmp"
}