summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-29 11:27:05 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-29 15:34:36 -0400
commite328ecddd7a88c04bc1506f4564f4e041d2d42c4 (patch)
treeb0191c0dab739521e89ea6075418cdc4d853f35d
parent9cd092ebf9e4118c36a2d015dcb964e2816147f2 (diff)
downloadabslibre-e328ecddd7a88c04bc1506f4564f4e041d2d42c4.tar.gz
abslibre-e328ecddd7a88c04bc1506f4564f4e041d2d42c4.tar.bz2
abslibre-e328ecddd7a88c04bc1506f4564f4e041d2d42c4.zip
pcr/maildirproc: Rebuild for python 3.7... and also tidy up
While we're at it, instead of just bumping pkgrel, add the patchver to pkgver, instead of hiding it away in the source=() URL. Also, add the sha256sum directly from the pypi web page.
-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/