updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / lynis / PKGBUILD
blob3ed971128608bc47d6aa3d597dcfe2f76cc6cae2
1 # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
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: