# $Id: PKGBUILD 11835 2008-09-04 13:31:53Z dale $ # Maintainer: Dale Blount # Contributor: Dale Blount pkgname=spamassassin-spamc pkgver=3.2.5 pkgrel=1 pkgdesc="Standalone C Client to spamassassin." arch=(i686 x86_64) url="http://spamassassin.apache.org" conflicts=('spamassassin') depends=('openssl' 'zlib') makedepends=() license=('APACHE') backup=() install= source=(http://mirrors.devlib.org/apache/spamassassin/source/Mail-SpamAssassin-$pkgver.tar.gz) md5sums=('7fdc1651d0371c4a7f95ac9ae6f828a6') build() { cd $startdir/src/Mail-SpamAssassin-$pkgver /usr/bin/yes n | /usr/bin/perl Makefile.PL CONTACT_ADDRESS=root@localhost \ ENABLE_SSL=yes PERL_TAINT=no make spamc/spamc || return 1 mkdir -p $startdir/pkg/usr/bin || return 1 install -m755 spamc/spamc $startdir/pkg/usr/bin/ || return 1 }