updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / havp / PKGBUILD
blob4cb119b1d0e48a824204c11d8beaa11d21267750
1 # Maintainer: Jason Begley <jayray@digitalgoat.com>
3 pkgname=havp
4 pkgver=0.92a
5 pkgrel=1
6 pkgdesc="Http AnviVirus Proxy."
7 url='http://www.server-side.de/'
8 license="GPL"
9 depends=('clamav')
10 arch=('i686' 'x86_64')
11 backup=(etc/havp/havp.conf)
12         source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
13         md5sums=('f9a37411116eceea579b9034c5fa8a69')
14         build() {
15                 cd $startdir/src/$pkgname-$pkgver
16                 ./configure --prefix=/ \
17                 make || return 1
18                 make DESTDIR=$startdir/pkg install
19                 cd $startdir
20                 install -D -m755 $startdir/src/$pkgname-$pkgver/etc/init.d/$pkgname $startdir/pkg/etc/rc.d/$pkgname
21                 perl -pi -e  's/usr\/local\///' $startdir/pkg/etc/rc.d/$pkgname
22                 install=$pkgname.install
23                 }
24