updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / up-imapproxy / PKGBUILD
blob1cb142c178e9c2a51a637ec1f9b9b7fca44b4380
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=up-imapproxy
3 pkgver=1.2.6
4 pkgrel=5
5 pkgdesc="An IMAP proxy server"
6 url="http://www.imapproxy.org/"
7 license="GPL"
8 depends=('tcp_wrappers' 'openssl')
9 makedepends=('openssl')
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=('i686')
14 install=
15 source=(http://www.imapproxy.org/downloads/$pkgname-$pkgver.tar.gz \
16         imapproxy.init imapproxy.runit)
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
20   ./configure --prefix=$startdir/pkg/ 
21   make || return 1
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/*
27   
28   install -d $startdir/pkg/etc/sv/imapproxy
29   install -m0755 ../imapproxy.runit $startdir/pkg/etc/sv/imapproxy/run
30   
32 md5sums=('decc6693a1497e5a1bc5704e5ed28c9b'
33          '6e09a7f86728e51aa5c16c039d202525'
34          '44a49061a1702047c71c36d646103180')