summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e96418a40859fe64a74aa9ac61101c49921ac167 (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: Simon Brakhane <simon+aur@brakhane.net>
pkgname=ezcoo-cli
pkgver=0.1.1
pkgrel=1
epoch=
pkgdesc="A tool to control EZCOO KVM switches via the serial interface"
arch=(any)
url="https://github.com/luminger/ezcoo-cli"
license=(Apache)
groups=()
depends=(python-pyserial python-attrs python-click)
makedepends=(python-build python-installer python-wheel)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/luminger/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('9f88c5eec63b5fcb896f8dec995016c0f165c3e7cacb7f487c6506f02e443d94')
noextract=()
md5sums=()
validpgpkeys=()

build() {
    cd "$pkgname-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$pkgname-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}