-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPKGBUILD
More file actions
29 lines (25 loc) · 734 Bytes
/
PKGBUILD
File metadata and controls
29 lines (25 loc) · 734 Bytes
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
# Maintainer: Zack Didcott
pkgname=snakedream-git
pkgver=1.2.2
pkgrel=1
pkgdesc="Python interface for a Daydream controller."
arch=("any")
url="https://github.com/Zedeldi/snakedream"
license=("MIT")
depends=("python" "python-bleak" "python-matplotlib" "python-uinput" "python-pyautogui")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")
provides=("snakedream")
conflicts=("snakedream")
source=("${pkgname}::git+https://github.com/Zedeldi/snakedream.git")
b2sums=("SKIP")
prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}
build() {
cd "${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}