summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e54d2b09bcc966ad42293de684f1770850f93dde (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
# Maintainer: vsilv vsilv@posteo.eu

pkgname=python-gdax
pkgver=r2.7a3f1e0
pkgrel=1
pkgdesc="The unofficial Python client for the GDAX API "
arch=('x86_64')
license=('MIT')
depends=('python>=3.5' 'python-bintrees>=2.0' 'python-requests>=2.13' 'python-six>=1.10' 'python-websocket-client>0.40')
makedepends=('git')
provides=('python-gdax')
_gitname='python-gdax'
source=(${_gitname}'::git+https://github.com/acontry/GDAX-Python.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_gitname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
  cd "${srcdir}/${_gitname}"
  python setup.py build
}

package() {
  cd "${srcdir}/${_gitname}"
  python setup.py install --prefix=/usr --root=${pkgdir} -O1 --skip-build
}