PKGBUILDs/extra/chkrootkit/PKGBUILD
2009-10-23 21:14:54 -05:00

24 lines
698 B
Bash

# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
pkgname=chkrootkit
pkgver=0.49
pkgrel=1
pkgdesc="Locally checks for signs of a rootkit."
arch=('arm')
url="http://www.chkrootkit.org"
depends=('bash')
license=('BSD')
source=(ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}.tar.gz
fix-tools-path.patch)
md5sums=('304d840d52840689e0ab0af56d6d3a18'
'6a2f3038114b8b14e1ad74e30fe44eee')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p0 < ${srcdir}/fix-tools-path.patch
chown root:root *
make sense || return 1
find ${srcdir}/${pkgname}-${pkgver} -perm /u+x -type f \
-execdir install -D -m755 "{}" ${pkgdir}/usr/bin/"{}" ";"
}