diff options
Diffstat (limited to 'extra/procmail/PKGBUILD')
-rw-r--r-- | extra/procmail/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/procmail/PKGBUILD b/extra/procmail/PKGBUILD new file mode 100644 index 000000000..df4a9c2a6 --- /dev/null +++ b/extra/procmail/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 114723 2011-03-15 18:50:11Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=procmail +pkgver=3.22 +pkgrel=3 +pkgdesc="Highly configurable auto mail processing." +arch=(i686 x86_64) +url="http://www.procmail.org" +license=('GPL' 'custom:Artistic') +depends=('glibc' 'sh') +makedepends=('smtp-server') +source=(#http://www.procmail.org/${pkgname}-${pkgver}.tar.gz # currently down + ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/${pkgname}-${pkgver}.tar.gz + procmail-3.22-getline.patch) +md5sums=('1678ea99b973eb77eda4ecf6acae53f1' + 'cf8e5d4854050ab0c836e07406a3dfa9') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -Np1 -i ${srcdir}/procmail-3.22-getline.patch + yes n | make LOCKINGTEST="/tmp ." + make BASENAME=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man install +} + +package() { + cd $srcdir/$pkgname-$pkgver + install -D -m644 Artistic ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -d -m755 ${pkgdir}/usr/share/doc/${pkgname}/examples + install -m644 examples/* ${pkgdir}/usr/share/doc/${pkgname}/examples/ +} |