[arch-commits] Commit in qmk/trunk (6 files)

Morten Linderud foxboron at archlinux.org
Tue Sep 22 15:53:00 UTC 2020


    Date: Tuesday, September 22, 2020 @ 15:53:00
  Author: foxboron
Revision: 711395

upgpkg: qmk 0.0.35-2

Added:
  qmk/trunk/50-atmel-dfu.rules
  qmk/trunk/54-input-club-keyboard.rules
  qmk/trunk/55-caterina.rules
  qmk/trunk/56-dfu-util.rules
  qmk/trunk/57-bootloadhid.rules
  qmk/trunk/PKGBUILD

------------------------------+
 50-atmel-dfu.rules           |    6 ++++
 54-input-club-keyboard.rules |    2 +
 55-caterina.rules            |    5 ++++
 56-dfu-util.rules            |    4 +++
 57-bootloadhid.rules         |    2 +
 PKGBUILD                     |   51 +++++++++++++++++++++++++++++++++++++++++
 6 files changed, 70 insertions(+)

Added: 50-atmel-dfu.rules
===================================================================
--- 50-atmel-dfu.rules	                        (rev 0)
+++ 50-atmel-dfu.rules	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,6 @@
+# Atmel ATMega32U4
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", TAG+="uaccess", RUN{builtin}+="uaccess"
+# Atmel USBKEY AT90USB1287
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffb", TAG+="uaccess", RUN{builtin}+="uaccess"
+# Atmel ATMega32U2
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff0", TAG+="uaccess", RUN{builtin}+="uaccess"

Added: 54-input-club-keyboard.rules
===================================================================
--- 54-input-club-keyboard.rules	                        (rev 0)
+++ 54-input-club-keyboard.rules	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,2 @@
+# Input Club keyboard bootloader
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b007", TAG+="uaccess", RUN{builtin}+="uaccess"

Added: 55-caterina.rules
===================================================================
--- 55-caterina.rules	                        (rev 0)
+++ 55-caterina.rules	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,5 @@
+# ModemManager should ignore the following devices
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0036", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0036", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9203", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"

Added: 56-dfu-util.rules
===================================================================
--- 56-dfu-util.rules	                        (rev 0)
+++ 56-dfu-util.rules	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,4 @@
+# stm32duino
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1eaf", ATTRS{idProduct}=="0003", TAG+="uaccess", RUN{builtin}+="uaccess"
+# Generic stm32
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess", RUN{builtin}+="uaccess"

Added: 57-bootloadhid.rules
===================================================================
--- 57-bootloadhid.rules	                        (rev 0)
+++ 57-bootloadhid.rules	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,2 @@
+# bootloadHID
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", TAG+="uaccess", RUN{builtin}+="uaccess"

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-22 15:53:00 UTC (rev 711395)
@@ -0,0 +1,51 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Akaash Suresh <https://github.com/Curry>
+# Contributor: Batuhan Baserdem <lastname dot firstname at gmail>
+
+pkgname=qmk
+pkgver=0.0.35
+pkgrel=2
+pkgdesc="CLI tool for customizing supported mechanical keyboards."
+arch=('any')
+url="https://github.com/qmk/qmk_cli"
+license=('MIT')
+depends=('python-appdirs' 'python-argcomplete' 'python-colorama'
+         'git' 'avr-gcc' 'arm-none-eabi-gcc' 'dfu-programmer' 
+         'dfu-util' 'avrdude')
+makedepends=('python-setuptools')
+optdepends=('arm-none-eabi-binutils'
+            'arm-none-eabi-newlib'
+            'avr-binutils'
+            'avr-libc'
+            'gcc'
+            'libffi'
+            'libusb-compat'
+            'clang: chibios-upgrader'
+            'zip: some distribution script'
+            'wget: some update scripts'
+            'diffutils: some update scripts')
+source=("https://files.pythonhosted.org/packages/source/q/qmk/qmk-${pkgver}.tar.gz"
+        '50-atmel-dfu.rules'
+        '54-input-club-keyboard.rules'
+        '55-caterina.rules'
+        '56-dfu-util.rules'
+        '57-bootloadhid.rules')
+sha256sums=('e704ca31cdca264bfdd99c72a4849a9e9762043e4bf328118c49af92d1c0a3b5'
+            'e755c3809ca9bf7952aa009df7cd453ffed9587a7bd73bbaca86d504b9bdfc9b'
+            '93a26f044baf2dd9d0ba78a2c18eef3bb3a2512605467228f9af309532f8a61b'
+            'fb9d05568466da0250331f3eb1602f17218c5ae7f40cf6abaee455ca74c270a6'
+            'fc8b52f38c6fb1f793477755198f0e55d8935e707e602211c8f5f23603f6a8ff'
+            '44bc829563b073327396337abd0565396167871ed06e83fe4b18763ab63cfc3f')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -d "${pkgdir}/usr/lib/udev"
+  install -Dm644 ../*.rules "${pkgdir}/usr/lib/udev"
+}


More information about the arch-commits mailing list