blob: 61b5f04af9d1dc4a5f50a3e4064e61f2e04ee6f9 (
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: Kewl <xrjy@nygb.rh.bet(rot13)>
pkgname="python-kucoin-git"
pkgver=2.1.1.r27.g6245e0a
pkgrel=2
pkgdesc="Unofficial Python wrapper for KuCoin's API"
arch=('any')
url="https://github.com/sammchardy/${pkgname%-git}"
license=('MIT')
depends=('python-requests')
makedepends=('git' 'python-setuptools')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}"/${pkgname%-git}
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//'
}
build() {
cd "${srcdir}"/${pkgname%-git}
python setup.py build
}
package() {
cd "${srcdir}"/${pkgname%-git}
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|