summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Cornish2015-10-12 09:45:16 +0100
committerRob Cornish2015-10-12 09:45:16 +0100
commitb0339492ade26e6c23943d6c44ca92d189329815 (patch)
tree8942316bba51531e20e42eeba9bda80b29fd2995
parentc04fe92e6b864a735875bee9406baec01832a4f2 (diff)
downloadaur-b0339492ade26e6c23943d6c44ca92d189329815.tar.gz
Updated udev rules
-rw-r--r--.SRCINFO2
-rw-r--r--50-brscan3.rules44
-rw-r--r--PKGBUILD6
-rw-r--r--brscan3.rules45
4 files changed, 48 insertions, 49 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07a7ea91e7e..f38dd54c85a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,7 @@ pkgbase = brscan3
license = custom:Brother
depends = sane
depends = libusb-compat
- source = brscan3.rules
+ source = 50-brscan3.rules
source = LICENSE.html
sha256sums = 2e73148e0b89e0753d3cbfe99837efd3ebf06d9d9e3b030b4a241fa8fb5b662b
sha256sums = 3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2
diff --git a/50-brscan3.rules b/50-brscan3.rules
new file mode 100644
index 00000000000..a0fe7c3ed86
--- /dev/null
+++ b/50-brscan3.rules
@@ -0,0 +1,44 @@
+ACTION=="add", ATTR{idVendor}=="04f9", GOTO="brscan3"
+GOTO="brscan3_end"
+LABEL="brscan3"
+ATTR{idProduct}=="0206", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0204", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0205", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0201", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0200", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ff", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fe", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fd", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fa", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f4", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f1", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f3", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f2", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01f0", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ef", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0207", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0208", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0203", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0202", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01fc", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ee", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ed", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01eb", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01ea", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e9", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e8", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e7", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e6", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="01e5", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0218", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="021f", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0217", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0216", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+ATTR{idProduct}=="0215", MODE="0664", GROUP="lp", SYMLINK+="scanner%n", ENV{libsane_matched}:="yes"
+LABEL="brscan3_end"
diff --git a/PKGBUILD b/PKGBUILD
index fe1911fd354..430bec204bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
pkgname=brscan3
pkgver=0.2.13_1
-pkgrel=4
+pkgrel=5
pkgdesc="Brother SANE drivers for $pkgname-compatible models"
arch=('i686' 'x86_64')
url='http://support.brother.com/g/s/id/linux/en'
@@ -18,7 +18,7 @@ sha256sums_i686=('5586fe264c7bd715e598b5d444f2851464ffe72857f2f48486466e7e2957f7
source_x86_64=("http://download.brother.com/welcome/dlf006644/${pkgname}-${pkgver/_/-}.x86_64.rpm")
sha256sums_x86_64=('b462dbded2d0f7ae511057bd3cb6f8379042b75d996eef2675998a4559cc5556')
-source=('brscan3.rules' 'LICENSE.html')
+source=('50-brscan3.rules' 'LICENSE.html')
sha256sums=('2e73148e0b89e0753d3cbfe99837efd3ebf06d9d9e3b030b4a241fa8fb5b662b'
'3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2')
@@ -26,7 +26,7 @@ package() {
cp -r "$srcdir"/usr "$pkgdir"
install -d -m755 "$pkgdir"/etc/udev/rules.d
- install -D -m644 "$srcdir"/brscan3.rules "$pkgdir"/etc/udev/rules.d
+ install -D -m644 "$srcdir"/50-brscan3.rules "$pkgdir"/etc/udev/rules.d
install -d -m755 "$pkgdir"/usr/share/licenses/$pkgname
install -D -m644 "$srcdir"/LICENSE.html "$pkgdir"/usr/share/licenses/$pkgname
diff --git a/brscan3.rules b/brscan3.rules
deleted file mode 100644
index 3f4d2a04c97..00000000000
--- a/brscan3.rules
+++ /dev/null
@@ -1,45 +0,0 @@
-ACTION=="add", ATTR{idVendor}=="04f9", GOTO="brscan3"
-GOTO="brscan3_end"
-LABEL="brscan3"
-ATTR{idProduct}=="0206", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0204", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0205", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0201", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0200", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01ff", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01fe", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01fd", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01fb", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01fa", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f9", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f8", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f7", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f6", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f5", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f4", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f1", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f3", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f2", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01f0", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01ef", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0207", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0208", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0203", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0202", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01fc", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01ee", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01ed", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01eb", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01ea", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01e9", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01e8", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01e7", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01e6", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="01e5", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0218", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="021f", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0217", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0216", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-ATTR{idProduct}=="0215", MODE="0664", GROUP="scanner", SYMLINK+="scanner%n"
-LABEL="brscan3_end"
-