summaryrefslogtreecommitdiff
path: root/community/dspam/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-09 10:49:34 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-09 10:49:34 -0300
commitd53c17bfc7766efa4bcb43eecc2906938d3d2ee9 (patch)
tree8f29b8f00ba7758d04e66c3b3ab2bbe71363bceb /community/dspam/PKGBUILD
parent23c40f4e35b9164f83c5bcf376056bca0546f69e (diff)
parent26bcb2409416374f6728bd9b863e4fd147adccb3 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/freewrl/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/gnash/PKGBUILD community-testing/gource/PKGBUILD community-testing/gpac/PKGBUILD community-testing/rss-glx/PKGBUILD community-testing/smc/PKGBUILD community/blobby2/PKGBUILD community/jack2/PKGBUILD community/kleansweep/PKGBUILD core/gcc/PKGBUILD extra/at/PKGBUILD extra/maxima/PKGBUILD extra/nicotine/PKGBUILD extra/python-geoip/PKGBUILD extra/sqlite/PKGBUILD gnome-unstable/gnome-control-center/PKGBUILD gnome-unstable/gnome-settings-daemon/PKGBUILD gnome-unstable/gst-plugins-base/PKGBUILD gnome-unstable/gstreamer/PKGBUILD multilib-testing/gcc-multilib/PKGBUILD multilib-testing/libtool-multilib/PKGBUILD multilib/jack2-multilib/PKGBUILD staging/mesa/PKGBUILD testing/bzflag/PKGBUILD testing/cabal-install/PKGBUILD testing/cairo/PKGBUILD testing/gcc/PKGBUILD testing/glew/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/libreoffice/PKGBUILD testing/libtool/PKGBUILD testing/mesa/PKGBUILD testing/nx/PKGBUILD testing/xf86-video-ati/PKGBUILD testing/xf86-video-intel/PKGBUILD testing/xf86-video-intel/xf86-video-intel.install testing/xf86-video-nouveau/PKGBUILD testing/xine-lib/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/dspam/PKGBUILD')
-rw-r--r--community/dspam/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/dspam/PKGBUILD b/community/dspam/PKGBUILD
index ba94e2f3c..030116559 100644
--- a/community/dspam/PKGBUILD
+++ b/community/dspam/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 70948 2012-05-20 12:51:03Z spupykin $
+# $Id: PKGBUILD 77118 2012-10-05 10:37:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=dspam
pkgver=3.10.2
-pkgrel=1
+pkgrel=2
pkgdesc="A scalable, open-source statistical anti-spam filter"
arch=('i686' 'x86_64' 'mips64el')
url="http://dspam.nuclearelephant.com/"
@@ -22,10 +22,14 @@ options=('zipman' 'docs' '!libtool')
install=$pkgname.install
source=(http://downloads.sourceforge.net/project/dspam/dspam/dspam-$pkgver/dspam-$pkgver.tar.gz
dspam.logrotated
- dspam)
+ dspam
+ dspam.service
+ dspam.tmpfiles)
md5sums=('0e0e405d3284485b2a43f47eaf6b09bb'
'2163ca41de383f09f4d754e2d35cb158'
- 'bb2300eff5b2a6eb987750c71a2c2169')
+ 'bb2300eff5b2a6eb987750c71a2c2169'
+ '1581a94598cec370b66f37b118970676'
+ '933643f2204ccbd7e451a439f83db1ea')
build() {
OPTS="--with-dspam-owner=dspam --with-dspam-group=dspam --enable-daemon --enable-virtual-users \
@@ -37,6 +41,7 @@ build() {
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc/dspam --localstatedir=/var ${OPTS}
make
}
+
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
@@ -66,4 +71,7 @@ package() {
find -type l -exec ln -sf libdspam.3 {} \;
chmod 0755 $pkgdir/usr/bin/*
+
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+ install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
}