# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Aaron Griffin # Contributor: dorphell pkgname=fetchmail pkgver=6.3.9 pkgrel=1 pkgdesc="A remote-mail retrieval utility" url="http://fetchmail.berlios.de/" arch=('i686' 'x86_64') depends=('glibc' 'openssl' 'python') license=('GPL') source=(http://download2.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2 fetchmail.rc fetchmail.conf) md5sums=('72c20ad2b9629f1a109668b05a84d823' 'b5f4d1da0c61d3d8a93fdf4e238f4949' '8fcd6a22dfbc247755fdd050c5c5c4d3') build() { export MAKEFLAGS="-j1" cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --with-ssl=/usr make || return 1 make DESTDIR="$pkgdir" install install -D -m755 "$srcdir/fetchmail.rc" "$pkgdir/etc/rc.d/fetchmail" install -D -m644 "$srcdir/fetchmail.conf" "$pkgdir/etc/conf.d/fetchmail" # "home" directory for pid file. install -d -o 90 -g nobody -m700 "$pkgdir/var/run/fetchmail" }