parent
70d0489756
commit
b204cc858b
4 changed files with 46 additions and 0 deletions
3
srcpkgs/wally-cli/INSTALL.msg
Normal file
3
srcpkgs/wally-cli/INSTALL.msg
Normal file
|
@ -0,0 +1,3 @@
|
|||
Please add your user to the group 'plugdev' by executing the following:
|
||||
|
||||
usermod -aG plugdev "$USER"
|
11
srcpkgs/wally-cli/files/50-wally.rules
Normal file
11
srcpkgs/wally-cli/files/50-wally.rules
Normal file
|
@ -0,0 +1,11 @@
|
|||
# These rules are derived from the instructions at
|
||||
# https://github.com/zsa/wally/wiki/Linux-install#2-create-a-udev-rule-file
|
||||
|
||||
# Teensy rules for the Ergodox EZ
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
|
||||
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
|
||||
|
||||
# STM32 rules for the Moonlander and Planck EZ
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", SYMLINK+="stm32_dfu"
|
9
srcpkgs/wally-cli/files/LICENSE
Normal file
9
srcpkgs/wally-cli/files/LICENSE
Normal file
|
@ -0,0 +1,9 @@
|
|||
## License (MIT)
|
||||
|
||||
Copyright 2019-2020, ZSA Technology Labs Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
srcpkgs/wally-cli/template
Normal file
23
srcpkgs/wally-cli/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'wally-cli'
|
||||
pkgname=wally-cli
|
||||
version=2.0.0
|
||||
revision=1
|
||||
wrksrc="wally-cli-${version}-linux"
|
||||
build_style=go
|
||||
go_import_path="github.com/zsa/wally-cli"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libusb-devel pkg-config go-bindata"
|
||||
short_desc="Flashing firmware for ZSA keyboards"
|
||||
maintainer="Wayne Van Son <waynevanson@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://www.zsa.io/wally/"
|
||||
distfiles="https://github.com/zsa/wally-cli/archive/${version}-linux.tar.gz"
|
||||
checksum="2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745"
|
||||
conf_files="/usr/lib/udev/rules.d/50-wally.rules"
|
||||
system_groups="plugdev"
|
||||
|
||||
post_install() {
|
||||
# vendoring license is obsolete in the next release
|
||||
vlicense "$FILESDIR/LICENSE"
|
||||
vinstall "$FILESDIR/50-wally.rules" 0644 /usr/lib/udev/rules.d
|
||||
}
|
Loading…
Reference in a new issue