blob: 87a7ce0bb4b07c003ea9bb0f0d509c77ddc0f0bb (
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
33
34
35
36
37
38
|
# Maintainer: yjun <jerrysteve1101 at gmail dot com>
pkgname=python-iotbot-git
_gitname=python--iotbot
pkgver=r163.eb90283
pkgrel=1
pkgdesc="IOTBOT/IOTQQ SDK with Python."
arch=('any')
url="https://github.com/xiyaowong/${_gitname}"
license=('MIT')
depends=('python-socketio'
'python-websocket-client'
'python-requests'
'python-prettytable'
'python-loguru'
'python-schedule')
makedepends=('git')
conflicts=('python-iotbot')
provides=('python-iotbot')
source=("git://github.com/XiyaoWong/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_gitname
python setup.py build
}
package() {
cd $_gitname
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim: ts=2 sw=2 et:
|