summaryrefslogtreecommitdiff
path: root/pcr/maildirproc
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr/maildirproc
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/maildirproc')
-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/
+}