summaryrefslogtreecommitdiff
path: root/pcr/maildirproc/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-09-15 15:44:38 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-09-15 15:44:38 -0300
commitee2ddecc62710a9ab8a715f2955481d201e84fbf (patch)
tree58bad9b127688358ae18c5eb2e4ca2c094885d0e /pcr/maildirproc/PKGBUILD
parent5d514cbf527b6ccecad5e37c6826d8463fe68e2a (diff)
parentfc5c5b349fa3fcbe2d41b213c5c153cde9e9339a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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/
+}