summaryrefslogtreecommitdiff
path: root/community/p3scan/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/p3scan/PKGBUILD
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/p3scan/PKGBUILD')
-rw-r--r--community/p3scan/PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/p3scan/PKGBUILD b/community/p3scan/PKGBUILD
index 7312974e8..92190ab71 100644
--- a/community/p3scan/PKGBUILD
+++ b/community/p3scan/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78346 2012-10-17 14:53:26Z spupykin $
+# $Id: PKGBUILD 90699 2013-05-13 14:33:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: v01d <phreakuencies@gmail.com>
pkgname=p3scan
pkgver=2.3.2
-pkgrel=7
+pkgrel=8
pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
arch=('i686' 'x86_64')
url="http://p3scan.sourceforge.net/"
@@ -12,11 +12,9 @@ depends=('pcre' 'openssl')
license=('GPL')
install=p3scan.install
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- "rc.p3scan"
"p3scan.service"
"p3scan.tmpfiles")
md5sums=('9f8decc7d4701228788e3c8717096ca0'
- '482a783e699b6532cbc478977f429eb5'
'dc724b50963d80be7924fc4d9d4856f0'
'265a730e20e3d8aaf0cd7816dc98ca71')
@@ -35,14 +33,13 @@ 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
+ install -d $pkgdir/usr/sbin $pkgdir/usr/man/man8 $pkgdir/etc/rc.d
# install with root set on $pkgdir
make DESTDIR=$pkgdir install
# delete init script provided and use an arch compatible one
- rm -f $pkgdir/etc/rc.d/rc.p3scan
- install -D -m755 -g root -o root $srcdir/rc.p3scan $pkgdir/etc/rc.d/p3scan
+ rm -rf $pkgdir/etc/rc.d
# BUG?: make absolute link a relative one
(