blob: e47387bcc3ffeec7b1a91182bda90e78a980047c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $Id: PKGBUILD 52041 2009-09-14 15:18:27Z giovanni $
# 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=('i686' 'x86_64')
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/"{}" ";"
install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
}
|