updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / pflogsumm / PKGBUILD
blob05faa56f039238c9d60df99d7c51b16922b7282c
1 # Contributor: Mark Rosenstand <mark@borkware.net>
2 # Maintainer: Jeff Anderson <jefferya@programmerq.net>
3 pkgname=pflogsumm
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc="Postfix Log Entry Summarizer"
7 url="http://jimsun.linxnet.com/postfix_contrib.html"
8 license="GPL"
9 arch=('i686' 'x86_64')
10 depends=('perl')
11 source=(http://jimsun.linxnet.com/downloads/$pkgname-$pkgver.tar.gz)
12 md5sums=('2f570477b2e205f9dfc1df13f00b5c0d')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
17   # remove smtpd stats support to get rid of Date::Calc dependency
18   perl rem_smtpd_stats_supp.pl
20   install -D -m755 pflogsumm.pl $startdir/pkg/usr/bin/pflogsumm
21   install -D -m644 pflogsumm.1 $startdir/pkg/usr/man/man1/pflogsumm.1