add necessary files to build with yay or install with pacman

This commit is contained in:
Jaxon Wright 2025-07-24 23:17:42 -04:00 committed by Dymstro
parent 3cceab4fb3
commit 331dc65955
2 changed files with 25 additions and 0 deletions

19
PKGBUILD Normal file
View file

@ -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"
}

6
nova-chatmix.install Normal file
View file

@ -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"
}