New package: xpadneo-0.9.1

This commit is contained in:
Joshua Krämer 2021-04-26 18:42:51 +02:00 committed by Érico Nogueira Rolim
parent 9bd1d90db0
commit c4bfa7623a

20
srcpkgs/xpadneo/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'xpadneo'
pkgname=xpadneo
version=0.9.1
revision=1
depends="dkms bluez"
short_desc="Bluetooth driver for Xbox One Wireless Controller"
maintainer="Joshua Krämer <joshua@kraemer.link>"
license="GPL-3.0-or-later"
homepage="https://github.com/atar-axis/xpadneo"
distfiles="https://github.com/atar-axis/xpadneo/archive/v${version}.tar.gz"
checksum=1f3617b0689d93877a706a52037649d6cad011cf70491b5b43da015a02312058
dkms_modules="hid-xpadneo ${version}"
do_install() {
vsed -i hid-xpadneo/dkms.conf.in -e "s/@DO_NOT_CHANGE@/${version}/"
mv hid-xpadneo/dkms.conf{.in,}
rm hid-xpadneo/Makefile
vmkdir usr/src/hid-xpadneo-${version}
vcopy "hid-xpadneo/*" usr/src/hid-xpadneo-${version}
}