diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..2580d84 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=nova-chatmix +pkgver=0.0.1 +pkgrel=1 +arch=('x86_64') +depends=('python' 'python-hid' 'pipewire') +makedepends=('git') +source=("$pkgname::git+https://github.com/Dymstro/nova-chatmix-linux.git") +sha256sums=('SKIP') +install=nova-chatmix.install + +package() { + cd "$pkgname" + install -Dm755 nova.py "$pkgdir/usr/bin/nova-chatmix" + install -Dm644 50-nova-pro-wireless.rules \ + "$pkgdir/usr/lib/udev/rules.d/50-nova-pro-wireless.rules" + install -Dm644 nova-chatmix.service \ + "$pkgdir/usr/lib/systemd/user/nova-chatmix.service" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" +} diff --git a/nova-chatmix.install b/nova-chatmix.install new file mode 100644 index 0000000..5fb9d29 --- /dev/null +++ b/nova-chatmix.install @@ -0,0 +1,6 @@ +post_install() { + echo "==> To enable nova-chatmix for your user, run:" + echo " systemctl --user enable --now nova-chatmix" + echo "==> If your headset is not detected after install, run:" + echo " sudo udevadm control --reload-rules" +} \ No newline at end of file