summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-27 16:19:22 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-27 16:19:22 +0200
commitccbc7105884e034d124aa860128dc700c9a6d846 (patch)
treecfb67bc03eb36b39254db051218e38e6ba25b7e1
parenta4034dd00dc4d717a2b747eb2efd5586e62b0192 (diff)
Update python2-postfix-policyd-spf.
-rw-r--r--pcr/python2-postfix-policyd-spf/PKGBUILD (renamed from ~mtjm/python2-postfix-policyd-spf/PKGBUILD)20
1 files changed, 11 insertions, 9 deletions
diff --git a/~mtjm/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD
index 237b6c9bd..9fd537930 100644
--- a/~mtjm/python2-postfix-policyd-spf/PKGBUILD
+++ b/pcr/python2-postfix-policyd-spf/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Samed Beyribey <ras0ir@eventualis.org>
pkgname=python2-postfix-policyd-spf
_pkgname=pypolicyd-spf
-pkgver=0.8.1
+pkgver=1.1.2
pkgrel=1
pkgdesc="Python2 Postfix Sender Policy Framework (SPF) filter"
arch=('any')
@@ -12,14 +12,16 @@ license=('GPL')
depends=('postfix' 'python2-pyspf' 'python2')
conflicts=('python-postfix-policyd-spf')
options=(!emptydirs)
-source=(http://launchpad.net/pypolicyd-spf/0.8/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
-md5sums=('a37c209e88e4dc419f62ae7c6b52f0e7')
-
+source=(http://launchpad.net/pypolicyd-spf/1.1/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
+sha256sums=('f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea')
+
build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- python2 setup.py build || return 1
- python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
- install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf || return 1
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py build
}
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+ install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf
+}