summaryrefslogtreecommitdiff
path: root/pcr/maildirproc/PKGBUILD
blob: 0e3becf750d5fb0fb2b1f762b5c18d09d3f00b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer (AUR): Mick Koch <kchmck@gmail.com>

pkgname="maildirproc"
pkgver="0.5.0"
pkgrel="3"
pkgdesc="Sorts mail based on a Python configuration file"
arch=("any")
url="http://joel.rosdahl.net/maildirproc/"
license=("GPL") # GPLv2+
depends=("python")
source=("http://joel.rosdahl.net/maildirproc/releases/$pkgname-$pkgver.tar.bz2")
md5sums=("eaa001f6cd1befee99528ca55da979ca")

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1

  mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
  cp -r doc/* "$pkgdir"/usr/share/doc/$pkgname/
}