summaryrefslogtreecommitdiff
path: root/community/p3scan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/p3scan/PKGBUILD')
-rw-r--r--community/p3scan/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/p3scan/PKGBUILD b/community/p3scan/PKGBUILD
index 17039ff9b..1e0ca81cf 100644
--- a/community/p3scan/PKGBUILD
+++ b/community/p3scan/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 91863 2013-05-28 17:37:47Z spupykin $
+# $Id: PKGBUILD 95328 2013-08-09 16:10:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: v01d <phreakuencies@gmail.com>
pkgname=p3scan
pkgver=2.3.2
-pkgrel=9
+pkgrel=10
pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
arch=('i686' 'x86_64')
url="http://p3scan.sourceforge.net/"
@@ -33,12 +33,12 @@ package() {
cd $srcdir/$pkgname-$pkgver
# Create base dirs, the Makefile assumes they're there
- install -d $pkgdir/usr/bin $pkgdir/usr/man/man8 $pkgdir/etc/rc.d
+ install -d $pkgdir/usr/bin $pkgdir/usr/share/man/man8 $pkgdir/etc/rc.d
# install with root set on $pkgdir
- make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install MANDIR=/usr/share/man/man8
- # delete init script provided and use an arch compatible one
+ # delete init script provided
rm -rf $pkgdir/etc/rc.d
# BUG?: make absolute link a relative one
@@ -50,7 +50,6 @@ package() {
# BUG: fix .conf file (the license has C style comments, they should be conf-style comments)
sed -ri 's|^[/ ]\*/?|# |g' $pkgdir/etc/p3scan/p3scan.conf
- mv $pkgdir/usr/man $pkgdir/usr/share/
mv $pkgdir/usr/doc $pkgdir/usr/share/
rm -rf $pkgdir/var/run