blob: d3b7f5240b86426313876608750fa1c39883ae97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Troy Hoover <troytjh98 at gmail dot com>
# Contributor: Gerald Pinder
pkgname=8bitdo-ultimate-controller-udev
pkgver=1.1
pkgrel=1
pkgdesc='udev rules for 8bitdo controller 2.4GHz mode'
arch=('x86_64' 'aarch64')
license=('GPL')
depends=('libevdev' 'xboxdrv' 'systemd' 'udev')
install="install"
source=('file://99-8bitdo-ultimate-controllers.rules'
'file://8bitdo-ultimate-dinput@.service'
'file://8bitdo-ultimate-xinput@.service')
sha256sums=('25b2fd49c1c60068f1b9d7607b63e1942442691ba5014d4c0fa96b198bb616ca'
'c9b8f6853518baa14fcddb8b021dd643142e8ea8f94443c625257272f6b5a66d'
'0271e1d9c69372938aded1652ff67ba8bc5cca30e00c4a6db2fdf7de80bcde88')
package() {
# install udev rules
install -dm 755 "${pkgdir}/usr/lib/udev/rules.d"
cp "$srcdir"/*.rules "$pkgdir/usr/lib/udev/rules.d/"
# install systemd services
install -dm 755 "${pkgdir}/usr/lib/systemd/system"
cp "$srcdir"/*.service "$pkgdir/usr/lib/systemd/system"
}
|