1 # Contributor: simo <simo@archlinux.org>
2 # Maintainer: Chris Brannon <cmbrannon (at) cox.net>
7 pkgdesc="A simple mail sorter written in python"
8 url="http://melkor.dnp.fmph.uniba.sk/~garabik/pycmail.html"
12 source=("ftp://ftp.debian.org/debian/pool/main/p/pycmail/pycmail_$pkgver.tar.gz")
13 md5sums=('c6d1cb520dbab95261119503bd22df23')
16 cd "$srcdir/$pkgname-$pkgver"
17 sed -i -e 's|^#! /usr/bin/python$|#!/usr/bin/python2|' pycmail
21 cd "$srcdir/$pkgname-$pkgver"
22 install -D -m755 pycmail "$pkgdir/usr/bin/pycmail"
23 install -D -m644 pycmail.1 "$pkgdir/usr/share/man/man1/pycmail.1"
24 install -D -m644 pycmailrc "$pkgdir/etc/pycmailrc.sample"
25 install -D -m644 COPYING "$pkgdir/usr/share/licenses/pycmail/COPYING"