updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / rootcheck / PKGBUILD
blob0df9018a11bd0e3ff79468529738ad076f69f59d
1 # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
3 pkgname=rootcheck
4 pkgver=2.4
5 pkgrel=1
6 pkgdesc="an open source rootkit detection and system auditing software"
7 arch=(i686 x86_64)
8 url="http://www.ossec.net/main/rootcheck"
9 license=("GPL")
10 source=(http://www.ossec.net/rootcheck/files/rootcheck-$pkgver.tar.gz)
11 md5sums=('d7c1afc8026a6a073147e322058ea6bd')
13 build() {
14         cd $srcdir/$pkgname-$pkgver
15         sed -i 's|./rootcheck.conf|/etc/rootcheck.conf|' src/rootcheck/rootcheck.c
16         make all
17         sed -i 's|./db/|/usr/share/rootcheck/db/|' rootcheck.conf
18         mkdir -p $pkgdir/{etc,usr/share/rootcheck,usr/bin}
19         install -m 755 ossec-rootcheck $pkgdir/usr/bin
20         install -m 644 rootcheck.conf $pkgdir/etc
21         cp -a db $pkgdir/usr/share/rootcheck