summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed083dc93938a3461efb4dcd9b11a9499d982e14 (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: Stefan Tatschner <stefan@rumpelsepp.org>

pkgname=python-pyxcp
_pkgname=pyxcp
pkgver=0.18.51
_commit="83f958371c9650ed838dfa6857c51fe65111e75c"
pkgrel=1
pkgdesc='Utilities for managing the clipboard using OSC52'
arch=(any)
url="https://github.com/rumpelsepp/oscclip"
license=("GPLv3")
depends=("python"
    "python-mako"
    "python-construct"
    "python-pyserial"
    "python-pyusb"
    "python-toml"
    "python-can"
)
makedepends=("python-installer" "python-build" "pybind11" "python-setuptools" "python-pep517")
optdepends=()
source=("git+https://github.com/Christoph2/pyxcp#commit=$_commit")
sha256sums=('SKIP')

build() {
    cd "$_pkgname"
	python -m build
}

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