blob: 3eb4976607107b823184af4575e6cca6af0345fa (
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.22
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=('4a0a0699fdaf7915116c3f1e8281569d4b869c31ac39afb6b153d3a28e93bc87')
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:
|