1 # Contributor: William Rea <sillywilly@gmail.com>
5 pkgdesc="Provides the framework for using the Prelude system"
7 url="http://www.prelude-ids.org"
10 depends=('gnutls' 'python' 'perl')
12 source=(http://www.prelude-ids.org/download/releases/$pkgname/$pkgname-$pkgver.tar.gz)
13 _perlver=`pacman -Q perl | awk '{print $2}' | sed -e 's/-.*//'`
16 cd $startdir/src/libprelude-$pkgver
17 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
19 make DESTDIR=$startdir/pkg install
21 find $startdir/pkg -name '.packlist' -exec rm {} \;
22 rm -r $startdir/pkg/usr/lib/perl5/core_perl
23 #rm -r $startdir/pkg/usr/lib/ruby
25 mkdir $startdir/pkg/usr/lib/perl5/vendor_perl
26 mv $startdir/pkg/usr/lib/perl5/site_perl/auto/* \
27 $startdir/pkg/usr/lib/perl5/vendor_perl
28 rm -r $startdir/pkg/usr/lib/perl5/site_perl
30 md5sums=('a5bb76538d240e5fac5f6ab0b7fabfe5')