updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / tiger / PKGBUILD
blob03cf3e5ff65c671c9543b2609aac6992cdfadc61
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=tiger
4 pkgver=3.2.3
5 pkgrel=2
6 pkgdesc="A security scanner, that checks computer for known problems. Can also use tripwire, aide and chkrootkit."
7 arch=('i686' 'x86_64')
8 url="http://www.nongnu.org/tiger/"
9 license=('GPL')
10 depends=('perl')
11 makedepends=('patch')
12 backup=('opt/tiger/config' 'etc/tiger/tigerrc' 'etc/tiger/cronrc')
13 source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz \
14         $pkgname-makefile.diff)
15 md5sums=('f41076f645da9de937819bf6d516e546'
16          'aadd12186c717dfe202d55d1192851c2')
18 build() {
19   cd ${srcdir}/$pkgname-$pkgver
21   patch -Np0 -i ${srcdir}/$pkgname-makefile.diff || return 1
23   install -d ${pkgdir}/usr/share/tiger ${pkgdir}/usr/sbin || return 1
25   ./configure --prefix=/usr \
26               --mandir=/usr/share/man \
27               --with-tigerhome=/usr/share/tiger \
28               --with-tigerconfig=/etc/tiger \
29               --with-tigerwork=/var/run/tiger \
30               --with-tigerlog=/var/log/tiger \
31               --with-tigerbin=/usr/sbin
33   make || return 1
34   make DESTDIR=${pkgdir} install