1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Kevin McCarthy <me@kevinmccarthy.org>
10 pkgdesc="E-MailRelay is a simple SMTP proxy and relay MTA, written in C++, for Linux and Windows. As a proxy all messages can be passed through a user-defined program, such as a spam-filter, which can drop, readdress, or edit messages as they pass through."
11 arch=('i686' 'x86_64')
12 url="http://emailrelay.sourceforge.net/"
16 makedepends=(gcc make)
25 source=(http://downloads.sourceforge.net/project/emailrelay/emailrelay/$pkgver/$pkgname-$pkgver-src.tar.gz)
27 md5sums=('957e61cbf6f8015cadef47f75866f35d')
30 cd "$srcdir/$pkgname-$pkgver"
32 ./configure --prefix=/usr
34 install -D -m644 etc/emailrelay.conf.template $startdir/pkg/etc/emailrelay.conf
35 install -D -m755 bin/emailrelay.sh $startdir/pkg/etc/rc.d/emailrelay
40 cd "$srcdir/$pkgname-$pkgver"
42 make DESTDIR="$pkgdir/" install
45 # vim:set ts=2 sw=2 et: