summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc8e440340d6bf1c3daad5dd8b2bc2527ec58651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Maintainer: Aphek <bilkow at tutanota com>
pkgname=nx-udev
pkgver=0.1.1
pkgrel=1
pkgdesc="udev rule allowing communication with the Nintendo Switch without root"
arch=('any')
url="https://github.com/pheki/nx-udev"
license=('GPL3')
groups=()
depends=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/pheki/nx-udev/archive/v$pkgver.tar.gz")
sha256sums=('36c9a12f27eac97230718f08ed40bfa73800bb9ea71b863b789a610d449be50b')

package() {
    install -Dm 644 "$pkgname-$pkgver"/60-nx.rules "$pkgdir"/usr/lib/udev/rules.d/60-nx.rules
    install -Dm 644 "$pkgname-$pkgver"/60-nx-rcm.rules "$pkgdir"/usr/lib/udev/rules.d/60-nx-rcm.rules
}