blob: 30258e2f3f12d9becb2e9c39f9728c3f3edce107 (
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
|
# Maintainer: yjun <jerrysteve1101 at gmail dot com>
pkgname=python-botoy
_gitname=${pkgname#python-}
pkgver=0.0.23
pkgrel=1
pkgdesc="OPQ/IOTQQ/IOTBot的一个Python开发助手"
arch=('any')
url="https://github.com/xiyaowong/botoy"
license=('MIT')
depends=('python-httpx'
'python-socketio4'
'python-websocket-client'
'python-prettytable'
'python-loguru'
'python-click'
'python-aiohttp')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/xiyaowong/botoy/archive/v${pkgver}.tar.gz")
sha256sums=('b5cf9ffa78233c7d79a8031402caa0f3927d48f427c0f44b7bf913e499d2ce35')
build() {
cd ${_gitname}-${pkgver}
python setup.py build
}
package() {
cd ${_gitname}-${pkgver}
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:
|