summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afe635d1c3508a59c1ef476e0a44424bc4cf6615 (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
31
32
# Maintainer: Mantas Mikul─Śnas <grawity@gmail.com>
_pkgname=Flask-GSSAPI
pkgname=python-flask-gssapi
pkgver=1.5.0
pkgrel=1
pkgdesc="GSSAPI (HTTP Negotiate) authentication for Flask"
url="https://github.com/cour4g3/flask-gssapi"
arch=(any)
license=(custom:MIT)
depends=(python-flask python-gssapi)
makedepends=(git python-setuptools)
_commit=78bf74f4f7f6c2bca834259b362153c89c6fdf25
source=("git+https://github.com/cour4g3/flask-gssapi#commit=$_commit")
sha256sums=('SKIP')

#pkgver() {
#  cd flask-gssapi
#  git describe --tags | sed "s/^v//; s/-/.r/; s/-/./"
#}

build() {
  cd flask-gssapi
  python setup.py build
}

package() {
  cd flask-gssapi
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2:sw=2:et