diff options
Diffstat (limited to 'python2-courier-pythonfilter/PKGBUILD')
-rw-r--r-- | python2-courier-pythonfilter/PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python2-courier-pythonfilter/PKGBUILD b/python2-courier-pythonfilter/PKGBUILD index 2d078297..86d87fb6 100644 --- a/python2-courier-pythonfilter/PKGBUILD +++ b/python2-courier-pythonfilter/PKGBUILD @@ -2,8 +2,8 @@ pkgname=python2-courier-pythonfilter _pkgname='courier-pythonfilter' -pkgver=1.11 -pkgrel=2 +pkgver=2.93 +pkgrel=1 pkgdesc='collection of useful filters for the Courier MTA, and a framework for developing new filters in Python' arch=('any') url='https://github.com/szepeviktor/courier-pythonfilter/' @@ -14,8 +14,8 @@ depends=( ) makedepends=( 'python2-setuptools') -source=("http://www.dragonsdawn.net/~gordon/courier-pythonfilter/${_pkgname}-${pkgver}.tar.gz") -sha512sums=('75ffff7d9692861c535ee18d1d25954c79e81275641172ad706caf0c65dc715ffd4a1c021b0e26fc992fffdf6c2842ed8fc688eff82ec42591b35af834c0ace4') +source=("https://bitbucket.org/gordonmessmer/${_pkgname}/get/release-${pkgver//./-}.tar.gz") +sha512sums=('c8e2ff55e025398f566a976107aee5c04e3a95c32b829e62fd70e813184ca4ab891959453267dc6bc00e0d8d977e40c812d02de6183fe284a2006170ff5c0042') backup=('etc/pythonfilter-modules.conf' 'etc/pythonfilter.conf') optdepends=( 'python2-pyclamav: Virus Scan' @@ -25,13 +25,13 @@ optdepends=( ) build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/gordonmessmer-${_pkgname}-"* python2 setup.py build } package() { depends+=('courier-mta') - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/gordonmessmer-${_pkgname}-"* python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 find "${pkgdir}" -type f -exec sed -i ' 1 s,^#!/usr/bin/python$,\02,' {} \; rm "${pkgdir}/usr/lib/python2"*"/site-packages/${_pkgname//-/_}-${pkgver}-py2"*".egg-info" |