updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / lynis / PKGBUILD
blobce4ba82975d7c0f1fc16e70733bd7c6acaa9a376
1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
3 pkgname=lynis
4 pkgver=1.2.9
5 pkgrel=2
6 pkgdesc='Lynis is an auditing tool for Unix (specialists)'
7 url='http://www.rootkit.nl/projects/lynis.html'
8 license=('GPL3')
9 arch=('i686' 'x86_64')
10 source=("http://www.rootkit.nl/files/$pkgname-$pkgver.tar.gz")
11 md5sums=('69b369173ffc0f10f021035f73857e1f')
13 package() {
14   cd $pkgname-$pkgver
16   # install profile
17   install -D -m 644 default.prf "$pkgdir/etc/$pkgname/default.prf"
19   # install binary
20   install -D -m 750 $pkgname "$pkgdir/usr/sbin/$pkgname"
22   # install plugins, include, db
23   install -d "$pkgdir/usr/share/$pkgname"
24   cp -a db include plugins "$pkgdir/usr/share/$pkgname"
25   chmod -R u=rwX,go=rX "$pkgdir/usr/share/$pkgname"
27   # install misc files
28   install -m 644 -t "$pkgdir/usr/share/$pkgname" README INSTALL CHANGELOG FAQ
30   # install manpage
31   install -D -m 644 $pkgname.8 "$pkgdir/usr/share/man/man8/$pkgname.8"
34 # vim:set ts=2 sw=2 ft=sh et: