blob: 385a7fb8da663263e9091d17bf6f0d77b5aa21c1 (
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
|
# Maintainer: Anton Kuklin <HAZZA@archlinux.org>
pkgname=sd-cli
pkgver=r2.63c2f0c
pkgrel=1
pkgdesc="cli for creating bots templates created for skfx"
arch=('any')
url="https://github.com/skfxio/sd-cli"
license=('custom')
depends=('python3' 'python-pip')
source=("git+https://github.com/skfxio/sd-cli.git")
sha512sums=('SKIP')
makedepends=(
git
python-build
python-hatchling
python-installer
)
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
python -m build --wheel --no-isolation
}
package() {
python -m installer --destdir="${pkgdir}" ${pkgname}/dist/*.whl
}
|