1 # Contributor: Roberto Alsina <ralsina@kde.org>
5 pkgdesc="An IMAP proxy server"
6 url="http://www.imapproxy.org/"
8 depends=('tcp_wrappers' 'openssl')
9 makedepends=('openssl')
15 source=(http://www.imapproxy.org/downloads/$pkgname-$pkgver.tar.gz \
16 imapproxy.init imapproxy.runit)
19 cd $startdir/src/$pkgname-$pkgver
20 ./configure --prefix=$startdir/pkg/
22 make rpm_prefix=$startdir/pkg install || return 1
23 install -d $startdir/pkg/etc/rc.d
24 install -m 0644 scripts/imapproxy.conf $startdir/pkg/etc
25 install -m 0755 ../imapproxy.init $startdir/pkg/etc/rc.d/imapproxy
26 chown root.root $startdir/pkg/sbin/*
28 install -d $startdir/pkg/etc/sv/imapproxy
29 install -m0755 ../imapproxy.runit $startdir/pkg/etc/sv/imapproxy/run
32 md5sums=('decc6693a1497e5a1bc5704e5ed28c9b'
33 '6e09a7f86728e51aa5c16c039d202525'
34 '44a49061a1702047c71c36d646103180')