summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrobot Viktor2019-10-11 20:33:59 +0300
committerDrobot Viktor2019-10-11 20:33:59 +0300
commitc9f06e68bba41a590651120f3d3e3e01bbb8b614 (patch)
tree1b9724617edaefd1c86fd13e1727db32296e62fb
downloadaur-avrisp-udev.tar.gz
First release
-rw-r--r--.SRCINFO12
-rw-r--r--99-avrispmkII.rules2
-rw-r--r--PKGBUILD15
3 files changed, 29 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0ce8e35fb5b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = avrisp-udev
+ pkgdesc = udev rules for AVR ISP Atmel programmer
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATAVRISP2
+ arch = any
+ license = GPL
+ source = 99-avrispmkII.rules
+ sha256sums = 21f0a7c2a6f01b47c95387bcef2cf29303772e41afbc732d9ea781b5173e071d
+
+pkgname = avrisp-udev
+
diff --git a/99-avrispmkII.rules b/99-avrispmkII.rules
new file mode 100644
index 00000000000..3d1347cf37c
--- /dev/null
+++ b/99-avrispmkII.rules
@@ -0,0 +1,2 @@
+# avrispmkII programmer rules (https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATAVRISP2)
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2104", GROUP="users", MODE="0666"
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a89115904a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=avrisp-udev
+pkgver=0.1
+pkgrel=1
+pkgdesc="udev rules for AVR ISP Atmel programmer"
+arch=('any')
+url="https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATAVRISP2"
+license=('GPL')
+source=('99-avrispmkII.rules')
+sha256sums=('21f0a7c2a6f01b47c95387bcef2cf29303772e41afbc732d9ea781b5173e071d')
+
+package() {
+ cd "${srcdir}"
+
+ install -Dm644 "99-avrispmkII.rules" "${pkgdir}/etc/udev/rules.d/99-avrispmkII.rules"
+}