summaryrefslogtreecommitdiff
path: root/community/p3scan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/p3scan/PKGBUILD')
-rw-r--r--community/p3scan/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/p3scan/PKGBUILD b/community/p3scan/PKGBUILD
index 407feff1b..c2dd1382b 100644
--- a/community/p3scan/PKGBUILD
+++ b/community/p3scan/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 59176 2011-11-21 13:12:02Z spupykin $
+# $Id: PKGBUILD 64345 2012-02-11 23:22:52Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: v01d <phreakuencies@gmail.com>
pkgname=p3scan
pkgver=2.3.2
-pkgrel=5
+pkgrel=6
pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
arch=('i686' 'x86_64')
url="http://p3scan.sourceforge.net/"
@@ -25,6 +25,10 @@ build() {
sed -ri 's|^LOCATION=.+$|LOCATION=/usr|' ripmime/Makefile
sed -ri 's|\$\(SYSINS\) -v -m 550 --strip p3scan \$\(PREFIX\)/sbin/|$(SYSINS) -D -v -m 550 --strip p3scan $(DESTDIR)/usr/sbin/|' Makefile
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
# Create base dirs, the Makefile assumes they're there
install -d $pkgdir/usr/sbin $pkgdir/etc/rc.d $pkgdir/usr/man/man8