summaryrefslogtreecommitdiff
path: root/pcr/python2-authres/PKGBUILD
blob: bb313d9531699d289b2f30d8799dab6c4e3e4271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer (AUR): Thomas Haider <t.haider@deprecate.de>
# Contributor (AUR): Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor (AUR): Samed Beyribey <ras0ir@eventualis.org>

# parabola changes and rationale:
#  no changes.

pkgname=python2-authres
_pkgname=authentication-results-python
pkgver=0.900
pkgrel=1
pkgdesc="Python2 Authentication-Results Headers generation and parsing"
arch=('any')
url="http://launchpad.net/authentication-results-python"
license=('Apache')
depends=('python2')
conflicts=('python-authres')
source=("https://launchpad.net/$_pkgname/$pkgver/$pkgver/+download/authres-$pkgver.tar.gz")
sha256sums=('de91d6cc6e5c6fef545bbf0a810a765fab4ca162906d14f3f2a6b9858602c186')

build() {
  cd "$srcdir/authres-$pkgver"
  python2 setup.py build
}

package() {
  cd "$srcdir/authres-$pkgver"
  python2 setup.py install --root="$pkgdir" --optimize=1
}