summaryrefslogtreecommitdiff
path: root/community/dbmail/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dbmail/PKGBUILD')
-rw-r--r--community/dbmail/PKGBUILD21
1 files changed, 17 insertions, 4 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD
index 711b3ab11..4b6809042 100644
--- a/community/dbmail/PKGBUILD
+++ b/community/dbmail/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 72451 2012-06-14 19:06:58Z spupykin $
+# $Id: PKGBUILD 77106 2012-10-05 10:14:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com>
pkgname=dbmail
pkgver=3.0.2
-pkgrel=4
+pkgrel=5
pkgdesc="Fast and scalable sql based mail services"
arch=('i686' 'x86_64' 'mips64el')
depends=('gmime24' 'libzdb' 'mhash' 'libevent')
@@ -23,10 +23,18 @@ conflicts=('dbmail')
provides=('dbmail')
source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz
dbmail.conf.d
- dbmail.rc.d)
+ dbmail.rc.d
+ dbmail-imapd.service
+ dbmail-lmtpd.service
+ dbmail-pop3d.service
+ dbmail-timsieved.service)
md5sums=('eb32235abffdf967253ee9d004e0e4a9'
'e7f72bc360decdb2475266391ad12329'
- '30774513fb016b9da08e9cf6f2a0b8e7')
+ '30774513fb016b9da08e9cf6f2a0b8e7'
+ '845b8bfe40864c366f7ab69768d1faa2'
+ '81a59222a43ae89f59299fe798b8e072'
+ '2e9a9a56ae56218142a115bff3f9a272'
+ 'd1fb94edb272d2a717af1944ecfd7fce')
build() {
cd $srcdir/dbmail-${pkgver/_/-}/
@@ -47,4 +55,9 @@ package() {
mkdir $pkgdir/usr/share/dbmail
cp -r sql/* $pkgdir/usr/share/dbmail/
cp dbmail.schema $pkgdir/usr/share/dbmail/
+
+ install -Dm0644 $srcdir/dbmail-imapd.service $pkgdir/usr/lib/systemd/system/dbmail-imapd.service
+ install -Dm0644 $srcdir/dbmail-lmtpd.service $pkgdir/usr/lib/systemd/system/dbmail-lmtpd.service
+ install -Dm0644 $srcdir/dbmail-pop3d.service $pkgdir/usr/lib/systemd/system/dbmail-pop3d.service
+ install -Dm0644 $srcdir/dbmail-timsieved.service $pkgdir/usr/lib/systemd/system/dbmail-timsieved.service
}