updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / afick / PKGBUILD
blob2a2828f576bfac9f82f2298baad1a32416717f83
1 # Contributor: Rorschach <r0rschach@lavabit.com
2 # Maintainer: Nathan Owe <ndowens04+AUR @ gmail.com>
3 pkgname=afick
4 pkgver=2.14
5 _realpkgver=2.14-1
6 pkgrel=1
7 pkgdesc="Alternative to tripwire"
8 url="http://afick.sourceforge.net"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('perl' 'perl-tk')
12 source=(http://downloads.sourceforge.net/afick/afick-$_realpkgver.tgz)
13 md5sums=('74b85916767a45c024a4dc125547f6a2') 
15 build() {
16   cd $srcdir/$pkgname-$_realpkgver
17   perl Makefile.pl
18   make || return 1
19   make DESTDIR=$pkgdir/ install
20   chmod a+r $pkgdir/etc/{afick.conf,cron.daily/afick_cron}
21   chmod a+rx $pkgdir/{etc/logrotate.d,var/{log/afick,lib/afick,lib/afick/archive}}