PKGBUILDs/community/dkfilter/PKGBUILD

31 lines
971 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=dkfilter
pkgver=0.11
pkgrel=6
pkgdesc="Domain key filter"
arch=('i686' 'x86_64')
url="http://jason.long.name/dkfilter/"
license=('GPL')
depends=(perl-crypt-openssl-rsa perl-mailtools perl-net-dns perl-net-server perl-mail-domainkeys)
option=('!emptydirs')
backup=(etc/conf.d/dkfilter)
install=dkfilter.install
source=(http://jason.long.name/dkfilter/dkfilter-$pkgver.tar.gz \
dkfilter-rc \
dkfilter.conf.d)
md5sums=('e295678fc728c139137bfadf4a679262'
'544e41234372f9f6752366e4c8a28100'
'a2fb031fa9493ccc082d953cd023a097')
build() {
cd $startdir/src/dkfilter-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m 0755 $startdir/src/dkfilter-rc $startdir/pkg/etc/rc.d/dkfilter && \
install -D -m 0644 $startdir/src/dkfilter.conf.d $startdir/pkg/etc/conf.d/dkfilter
}