summaryrefslogtreecommitdiff
path: root/community/dbmail/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/dbmail/PKGBUILD
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/dbmail/PKGBUILD')
-rw-r--r--community/dbmail/PKGBUILD71
1 files changed, 0 insertions, 71 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD
deleted file mode 100644
index bfe8cfe44..000000000
--- a/community/dbmail/PKGBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# $Id: PKGBUILD 93423 2013-07-03 11:48:53Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com>
-
-pkgname=dbmail
-pkgver=3.0.3pre
-pkgrel=2
-pkgdesc="Fast and scalable sql based mail services"
-arch=('i686' 'x86_64')
-depends=('gmime24' 'libzdb' 'mhash' 'libevent')
-makedepends=('asciidoc' 'xmlto' 'docbook-xsl' 'docbook-xml' 'postgresql-libs>=8.4.1'
- 'sqlite' 'libmysqlclient' 'libldap>=2.4.18' 'libsieve'
- 'git')
-optdepends=('libldap: for LDAP authentication'
- 'libsieve: for dbmail-sieve'
- 'python2-mysql2pgsql: migrate from MySQL to PostreSQL')
-url="http://www.dbmail.org"
-license=('GPL')
-options=('!libtool' 'zipman')
-backup=(etc/xinetd.d/dbmail-imapd
- etc/xinetd.d/dbmail-pop3d
- etc/xinetd.d/dbmail-lmtpd
- etc/xinetd.d/dbmail-timsieved)
-#source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz
-source=("$pkgname-$pkgver::git://git.subdir.eu/paul/dbmail#branch=dbmail_3_0"
- dbmail.tmpfiles
- dbmail-imapd.service
- dbmail-lmtpd.service
- dbmail-pop3d.service
- dbmail-timsieved.service
- dbmail-imapd.xinetd
- dbmail-lmtpd.xinetd
- dbmail-pop3d.xinetd
- dbmail-timsieved.xinetd)
-md5sums=('SKIP'
- 'c4b5793c5422b62a675d4c66ff7e9300'
- '5a6297cb03c8d0b424f978ea1d7402de'
- '070db88538af9833f003f4cb516d337b'
- '422f0399f97a780b7cab84443e8f429a'
- '15c7d367d4242aebac5f87649a2250aa'
- '890de13361afbdf4fed12d6d7eb53e66'
- '961593658cd596297d03d25eb9c9e98f'
- '4cb764894abd3914802e90602bf90a0c'
- 'e78dc86355f9aaf24590bc7c6611162f')
-
-build() {
- cd $srcdir/dbmail-${pkgver/_/-}/
- [ -f Makefile ] || ./configure --prefix=/usr --sbindir=/usr/bin \
- --with-ldap --with-sieve
- make
-}
-
-package() {
- cd $srcdir/dbmail-${pkgver/_/-}/
- make DESTDIR=$pkgdir install
- (cd man && make && make install DESTDIR=$pkgdir)
-
- mkdir $pkgdir/etc
- install -Dm644 dbmail.conf $pkgdir/etc/dbmail.conf.sample
- mkdir $pkgdir/usr/share/dbmail
- cp -r sql/* $pkgdir/usr/share/dbmail/
- cp -a contrib $pkgdir/usr/share/dbmail/
- cp dbmail.schema $pkgdir/usr/share/dbmail/
-
- for i in dbmail-imapd dbmail-lmtpd dbmail-pop3d dbmail-timsieved; do
- install -Dm0644 $srcdir/$i.service $pkgdir/usr/lib/systemd/system/$i.service
- install -Dm0644 $srcdir/$i.xinetd $pkgdir/etc/xinetd.d/$i
- done
-
- install -Dm0644 $srcdir/dbmail.tmpfiles $pkgdir/usr/lib/tmpfiles.d/dbmail.conf
-}