updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / pycmail / PKGBUILD
blob328fa89c3a24da9384c632a67770ff6842fb73f2
1 # Contributor: simo <simo@archlinux.org>
2 # Maintainer: Chris Brannon <cmbrannon (at) cox.net>
4 pkgname=pycmail
5 pkgver=0.1.4
6 pkgrel=2
7 pkgdesc="A simple mail sorter written in python"
8 url="http://melkor.dnp.fmph.uniba.sk/~garabik/pycmail.html"
9 license=("custom")
10 arch=('any')
11 depends=('python2')
12 source=("ftp://ftp.debian.org/debian/pool/main/p/pycmail/pycmail_$pkgver.tar.gz")
13 md5sums=('c6d1cb520dbab95261119503bd22df23')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   sed -i -e 's|^#! /usr/bin/python$|#!/usr/bin/python2|' pycmail
20 package() {
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"