1
0
Fork 0
mirror of https://github.com/Phantop/solus-stuff synced 2024-11-17 04:13:04 +00:00
solus-stuff/hid-nintendo/package.yml

27 lines
1,022 B
YAML
Raw Normal View History

2020-06-23 01:13:20 +00:00
name : hid-nintendo
version : 2.0
release : 1
homepage : https://github.com/nicman23/dkms-hid-nintendo
source :
- https://github.com/nicman23/dkms-hid-nintendo/archive/2.0.tar.gz : 86792ae53732f70730a282ca56443cd95c3d216f167a95bb07affe689a82b709
license : GPL-2.0-or-later
summary : A kernel driver for the Nintendo Switch Pro Controllers and the Joy-Cons.
description: |
A kernel driver for the Nintendo Switch Pro Controllers and the Joy-Cons.
builddeps :
- linux-current
- linux-current-headers
patterns :
- current : /lib/modules/*.current
setup : |
pushd ..
cp -a dkms-hid-nintendo-%version% current-build
build : |
pushd current-build
KERNEL_VERSION="%kernel_version_current%"
%make -C /lib/modules/${KERNEL_VERSION}/build M=`pwd`/src
install : |
pushd current-build
KERNEL_VERSION="%kernel_version_current%"
install -D -m 755 src/hid-nintendo.ko $installdir/lib/modules/${KERNEL_VERSION}/kernel/drivers/hid/hid-nintendo.ko