summaryrefslogtreecommitdiff
path: root/pcr/maildirproc/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-08 12:40:24 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-08 12:51:42 -0400
commit8e81bb1431ec6d669604d12079f59f0ca9bb1a15 (patch)
tree33ae1d5cca09ed4abfa631e152daea884644e410 /pcr/maildirproc/PKGBUILD
parent1a6f557d26bba9f72f5250f2c98aeb7d4e132d7a (diff)
touch up maildirproc, include the docs, move from [~lukeshu] to [prc]
Diffstat (limited to 'pcr/maildirproc/PKGBUILD')
-rw-r--r--pcr/maildirproc/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/maildirproc/PKGBUILD b/pcr/maildirproc/PKGBUILD
new file mode 100644
index 000000000..0e3becf75
--- /dev/null
+++ b/pcr/maildirproc/PKGBUILD
@@ -0,0 +1,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/
+}