blob: 976d084ba58bb16a3712c51bfa62f53e0c3cfe50 (
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
|
# Maintainer: Kimiblock Moe
pkgname=jose-bot-git
pkgdesc="Jose bot (Join confirm bot)"
url="https://github.com/ShadowRZ/jose-bot"
license=(Apache-2.0)
arch=(any)
pkgver=r18.958a175
pkgrel=1
makedepends=(python-setuptools git)
depends=(python python-xxhash python-yaml python-matrix-nio)
optdepends=(postgresql-libs)
source=(
"git+https://github.com/ShadowRZ/jose-bot.git"
)
md5sums=(
"SKIP"
)
provides=(jose-bot)
function pkgver() {
cd "${srcdir}/jose-bot"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
function build() {
cd "${srcdir}/jose-bot"
python -m build --wheel --no-isolation
}
function package() {
cd "${srcdir}/jose-bot"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|