updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / emailrelay / PKGBUILD
blobd2305458bfde2e22247d6b46236e317c7c678f2e
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>
7 pkgname=emailrelay
8 pkgver=1.8.2
9 pkgrel=1
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/"
13 license=('GPL')
14 groups=()
15 depends=()
16 makedepends=(gcc make)
17 optdepends=()
18 provides=()
19 conflicts=()
20 replaces=()
21 backup=()
22 options=()
23 install=
24 changelog=
25 source=(http://downloads.sourceforge.net/project/emailrelay/emailrelay/$pkgver/$pkgname-$pkgver-src.tar.gz)
26 noextract=()
27 md5sums=('957e61cbf6f8015cadef47f75866f35d')
29 build() {
30   cd "$srcdir/$pkgname-$pkgver"
32   ./configure --prefix=/usr
33   make
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
39 package() {
40   cd "$srcdir/$pkgname-$pkgver"
42   make DESTDIR="$pkgdir/" install
45 # vim:set ts=2 sw=2 et: