updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / dma / PKGBUILD
blobcad13a0745584bc53a2efd91f79112389614435d
1 # Contributor: 458italia <svenskaparadox@gmail.com>
2 # Contributor: Michael Krauss <hippodriver@gmx.net>
3 # $Id: PKGBUILD,v 1.2 2010/12/25 18:46:11 andres Exp $
5 pkgname="dma"
6 pkgver=0.5
7 pkgrel=1
8 pkgdesc="DragonFly BSD mail transport agent"
9 url="https://gitorious.org/dma"
10 license=('BSD')
11 makedepends=('ed')
12 depends=('openssl')
13 backup=('etc/dma/auth.conf' 'etc/dma/dma.conf')
14 arch=('i686' 'x86_64')
15 source=("https://github.com/corecode/dma/tarball/v$pkgver")
16 sha256sums=('63b45c1b3fc3058f26aa59c5e29c8352ebe47a778fedbd2c33b52a3f3b2b55c6')
18 build() {
19         cd corecode-dma-*
20         make PREFIX=/usr LIBEXEC=/usr/lib/dma
23 package() {
24         cd corecode-dma-*
25         make install sendmail-link mailq-link install-etc DESTDIR=$pkgdir PREFIX=/usr LIBEXEC=/usr/lib/dma
27         install -d -o root -g mail -m 2775 $pkgdir/var/spool/dma
29         install -d -m 755 $pkgdir/usr/share/licenses/$pkgname
30         install LICENSE $pkgdir/usr/share/licenses/$pkgname