diff options
author | Baltazár Radics | 2021-11-22 22:18:25 +0100 |
---|---|---|
committer | Baltazár Radics | 2021-11-22 22:18:25 +0100 |
commit | 40cfd21eef59f09b6035fb893d3b58c0683adf4e (patch) | |
tree | 1442a97e518c198242878bc48d5b31146775d0f2 | |
download | aur-40cfd21eef59f09b6035fb893d3b58c0683adf4e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..eaca9408b884 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-godirect + pkgdesc = Library to interface with GoDirect devices via USB and BLE + pkgver = 1.1.2 + pkgrel = 1 + url = https://pypi.org/project/godirect + arch = any + license = GPL + makedepends = python-setuptools + depends = python-hidapi + depends = python-bleak + source = https://files.pythonhosted.org/packages/source/g/godirect/godirect-1.1.2.tar.gz + sha256sums = 6f91ab46944857fdb93e9d1444bb6f1b77b8e0d122f551f686a43573dbe9299e + +pkgname = python-godirect diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b07a913ebd8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Baltazár Radics <baltazar.radics@gmail.com> +_name=godirect +pkgname=python-$_name +pkgver=1.1.2 +pkgrel=1 +pkgdesc='Library to interface with GoDirect devices via USB and BLE' +arch=(any) +url='https://pypi.org/project/godirect' +license=(GPL) +depends=(python-hidapi python-bleak) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('6f91ab46944857fdb93e9d1444bb6f1b77b8e0d122f551f686a43573dbe9299e') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} |