blob: 7fa8a5a9bbb563b7419f1fdfc57c17bd74170007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 104004 2014-01-14 15:23:43Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>
# Contributor: Roberto Alsina <ralsina at kde.org>
# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>
pkgname=nullmailer
pkgver=1.13
pkgrel=3
pkgdesc="Simple relay-only mail transport agent."
arch=('i686' 'x86_64')
url="http://www.untroubled.org/nullmailer/"
license=("GPL")
provides=('smtp-forwarder')
conflicts=('smtp-forwarder' 'smtp-server')
depends=('gnutls')
install=nullmailer.install
source=("http://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz"
nullmailer.service)
md5sums=('aaeb8746fbc082917b26d0827ccc9270'
'300f17c52422d4156583f207f2405930')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${pkgname} \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--enable-tls
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m 0644 ../nullmailer.service "${pkgdir}/usr/lib/systemd/system/nullmailer.service"
# Remove pipe and create on install to work around makepkg hang on grep -R
rm -f "${pkgdir}/var/nullmailer/trigger"
}
|