summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/maildirproc/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/pcr/maildirproc/PKGBUILD b/pcr/maildirproc/PKGBUILD
index e53cc88de..3a7483cce 100644
--- a/pcr/maildirproc/PKGBUILD
+++ b/pcr/maildirproc/PKGBUILD
@@ -1,18 +1,21 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
pkgname="maildirproc"
-pkgver="1.0.1"
+_basever='1.0.1'
+_patchver='a'
+pkgver="${_basevar}.${_patchver}"
pkgrel="1"
pkgdesc="A Maildir-based mail filter"
arch=('any')
url="http://joel.rosdahl.net/maildirproc/"
license=("GPL") # GPLv2+
depends=("python")
-source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}a.tar.bz2")
+source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${_basever}${_patchver}.tar.bz2")
md5sums=('3dab506996dc7218d9aace5fda08d412')
+sha256sums=('f206cc75021ab17223cb650cd18bf535001f9f5e05e40c1e43a0fa7da84622b2')
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$_basever"
python setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/