summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84dfe29f87e99bcd037395e69d79f69310e954c5 (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
_pkgname='python-binance'
pkgname="$_pkgname-git"
_majmin='0.6.2'
pkgver=0.6.2.745ca91
pkgrel=2
pkgdesc="A simple python interface to binance.com's web API."
arch=('any')
url='https://github.com/sammchardy/python-binance'
license=('MIT')
depends=('python' 'python-requests' 'python-autobahn' 'python-service-identity')
makedepends=('python-setuptools')
source=('git+https://github.com/sammchardy/python-binance.git')
md5sums=('SKIP')

pkgver () {
    #_date="$(date '+%Y%m%d')"
	cd "$srcdir/$_pkgname"
	echo "$_majmin.$(git rev-parse --short master)"
}

package () {
    cd "$srcdir/$_pkgname"

    python setup.py install --root="$pkgdir/"

    install -D 'LICENSE' "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}