xpadneo-dkms

This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:52 -04:00
1 parent 75b76b0c6a
commit 278e1677ff
4 files changed
+2

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
pkgbase = xpadneo-dkms
pkgdesc = Advanced Linux Driver for Xbox One Wireless Gamepad
pkgver = 0.10.2
pkgrel = 1
url = https://github.com/atar-axis/xpadneo
arch = any
license = GPL-2.0-only AND GPL-3.0-or-later
depends = dkms
depends = bluez
depends = bluez-utils
source = xpadneo-v0.10.2.tar.gz::https://github.com/atar-axis/xpadneo/archive/v0.10.2.tar.gz
b2sums = f822ad82e43df5af263cb76fd837e65931561c34ccd8cbb5fe0d93f9e7cf9903feeb65d0ac66749ae92371b40c2b0cc10d15bca502df36e6a611b9702d5ac81c
pkgname = xpadneo-dkms
-7
View File
@@ -1,7 +0,0 @@
*
# dev tools
!.gitignore
!.nvchecker.toml
# actual package
!PKGBUILD
!.SRCINFO
@@ -1,5 +0,0 @@
[xpadneo-dkms]
source = "github"
github = "atar-axis/xpadneo"
use_max_release = true
prefix = "v"
-40
View File
@@ -1,40 +0,0 @@
# Maintainer: marmis <tiagodepalves@gmail.com>
# Contributor: Benzy
# Contributor: Kudlaty
# Contributor: "marmis" Tiago de Paula <tiagodepalves@gmail.com>
# Contributor: vitor_hideyoshi <vitor.h.n.batista@gmail.com>
# Contributor: katt <magunasu.b97@gmail.com>
# Contributor: Yangtse Su <i@yangtse.me>
pkgname=xpadneo-dkms
pkgver=0.10.2
pkgrel=1
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('any')
url='https://github.com/atar-axis/xpadneo'
license=('GPL-2.0-only AND GPL-3.0-or-later')
depends=('dkms' 'bluez' 'bluez-utils')
source=("xpadneo-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
b2sums=('f822ad82e43df5af263cb76fd837e65931561c34ccd8cbb5fe0d93f9e7cf9903feeb65d0ac66749ae92371b40c2b0cc10d15bca502df36e6a611b9702d5ac81c')
package() {
cd "${srcdir}/xpadneo-${pkgver}"
# Add modprobe and udev files
make VERSION="v${pkgver}" PREFIX="${pkgdir}" ETC_PREFIX=/usr/lib \
install
# License applicability
LICENSE_DIR="${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm0644 -t "${LICENSE_DIR}" LICENSE.md LICENSES/*.txt
# DKMS files
TARGET_DIR="${pkgdir}/usr/src/hid-xpadneo-v${pkgver}"
install -Dm0644 -t "${TARGET_DIR}" hid-xpadneo/{Makefile,dkms.conf}
install -Dm0755 -t "${TARGET_DIR}" hid-xpadneo/dkms.post_{install,remove}
# Module source
cd hid-xpadneo
find src/ -type d -exec install -d "${TARGET_DIR}/{}" \;
find src/ -type f -not -name '.*' -exec install -T -m0644 '{}' "${TARGET_DIR}/{}" \;
}