add dualsensectl; remove esphome

This commit is contained in:
2024-04-09 20:31:35 +02:00
parent 11645a1435
commit cf369947f9
3 changed files with 23 additions and 82 deletions

23
dualsensectl/PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=dualsensectl
pkgver=0.5
pkgrel=1
pkgdesc='Tool for controlling Sony PlayStation 5 DualSense controller on Linux'
arch=(x86_64)
conflicts=(dualsensectl-git)
url='https://github.com/nowrep/dualsensectl'
license=(GPL-2.0-only)
depends=(dbus hidapi glibc systemd-libs)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('e4fa6b0d8a98b7034cec2682063a776d8a053403c3f1083640ff7d171fccb29c7cee58285b7a067cdd3a6613e383d0b204ddb2ea67033f50b209f262c11d3fc6')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}