summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7107c79e6049ce5f4ee29b4e240e935a27d834d5 (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: Christoph Gysin <christoph.gysin@gmail.com>

_pkgname=aws-requests-auth
pkgname=python-aws-requests-auth-git
pkgver=r107.969bc64
pkgrel=1
pkgdesc="AWS signature version 4 signing process for the python requests module"
url="https://github.com/davidmuller/aws-requests-auth"
license=('MIT')

source=('git+https://github.com/davidmuller/aws-requests-auth')
sha256sums=('SKIP')
arch=('any')
provides=('python-aws-requests-auth')
conflicts=('python-aws-requests-auth')

pkgver() {
  cd $_pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$_pkgname"
    python setup.py build
}

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