diff options
author | Filipp Andjelo | 2020-06-10 16:01:03 +0200 |
---|---|---|
committer | Filipp Andjelo | 2020-06-10 16:01:03 +0200 |
commit | 434f252fd41924b9ddaae62887bb552688b59b75 (patch) | |
tree | 1b82c760373a44aae0fdbab94c4153a325da4556 | |
parent | d3639875bbd37fc31a41109550cfb52485068685 (diff) | |
download | aur-434f252fd41924b9ddaae62887bb552688b59b75.tar.gz |
Use default udev rules
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 80-elgato-gchd.rules | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 5 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = elgato-gchd-git pkgdesc = Elgato Game Capture HD Driver pkgver = r147.e5bc6b9 - pkgrel = 1 + pkgrel = 2 url = https://github.com/tolga9009/elgato-gchd arch = i686 arch = x86_64 @@ -14,10 +14,8 @@ pkgbase = elgato-gchd-git conflicts = elgato-gchd source = git+https://github.com/tolga9009/elgato-gchd.git source = https://edge.elgato.com/egc/windows/egcw/3.70/final/GameCaptureSetup_3.70.43.3043_x64.msi - source = 80-elgato-gchd.rules sha256sums = SKIP sha256sums = 8f4a81e0e4cc794eaf1c9e33c2c8ade8b345de1e524369fc7e31d8dff3f83d5e - sha256sums = 02e903c82c4860fb78cf414cf507a57d611bcc357166f7292129a0538a5e1b39 pkgname = elgato-gchd-git diff --git a/80-elgato-gchd.rules b/80-elgato-gchd.rules deleted file mode 100644 index 290aa3c7a397..000000000000 --- a/80-elgato-gchd.rules +++ /dev/null @@ -1,2 +0,0 @@ -SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0051", MODE="0660", GROUP="plugdev" - @@ -2,7 +2,7 @@ pkgname=elgato-gchd-git pkgver=r147.e5bc6b9 -pkgrel=1 +pkgrel=2 pkgdesc="Elgato Game Capture HD Driver" arch=('i686' 'x86_64') url="https://github.com/tolga9009/elgato-gchd" @@ -14,12 +14,10 @@ conflicts=("${pkgname%-git}") source=( "git+${url}.git" "https://edge.elgato.com/egc/windows/egcw/3.70/final/GameCaptureSetup_3.70.43.3043_x64.msi" - "80-elgato-gchd.rules" ) sha256sums=( 'SKIP' '8f4a81e0e4cc794eaf1c9e33c2c8ade8b345de1e524369fc7e31d8dff3f83d5e' - '02e903c82c4860fb78cf414cf507a57d611bcc357166f7292129a0538a5e1b39' ) pkgver() { @@ -50,5 +48,7 @@ package() { for f in ${srcdir}/firmware/*; do install -D -m644 -t "${pkgdir}/usr/lib/firmware/gchd/" "$f" done - install -D -m644 -t "${pkgdir}/etc/udev/rules.d/" 80-elgato-gchd.rules + for f in ${srcdir}/${pkgname%-git}/udev-rules/*; do + install -D -m644 -t "${pkgdir}/etc/udev/rules.d/" "$f" + done } |