From c51b29397f9abc584a9b89ef0e9c62253d2d742d Mon Sep 17 00:00:00 2001 From: Wayne Van Son Date: Mon, 18 Jan 2021 16:17:48 +0000 Subject: [PATCH] New package: wally-cli-2.0.0 --- srcpkgs/wally-cli/patches/license.diff | 26 +++++++++++++++++++ srcpkgs/wally-cli/template | 36 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 srcpkgs/wally-cli/patches/license.diff create mode 100644 srcpkgs/wally-cli/template diff --git a/srcpkgs/wally-cli/patches/license.diff b/srcpkgs/wally-cli/patches/license.diff new file mode 100644 index 00000000000..a6ccf686666 --- /dev/null +++ b/srcpkgs/wally-cli/patches/license.diff @@ -0,0 +1,26 @@ +From b832f6b1997c0a7ee206e08f3d03127885378265 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= + +Date: Sat, 16 Jan 2021 11:25:55 +0100 +Subject: [PATCH] Create license.md + +--- + license.md | 9 +++++++++ + 1 file changed, 9 insertions(+) + create mode 100644 license.md + +diff --git license.md license.md +new file mode 100644 +index 0000000..45bbd40 +--- /dev/null ++++ license.md +@@ -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. diff --git a/srcpkgs/wally-cli/template b/srcpkgs/wally-cli/template new file mode 100644 index 00000000000..132da9069a3 --- /dev/null +++ b/srcpkgs/wally-cli/template @@ -0,0 +1,36 @@ +# Template file for 'wally-cli' +pkgname=wally-cli +version=2.0.0 +revision=1 +archs="x86_64" +wrksrc="wally-cli-${version}-linux" +build_style=go +go_import_path="github.com/zsa/wally-cli" +makedepends="libusb-devel pkg-config go-bindata" +short_desc="Flashing firmware for ZSA keyboards" +maintainer="Wayne Van Son " +license="MIT" +homepage="https://www.zsa.io/wally/" +distfiles="https://github.com/zsa/wally-cli/archive/${version}-linux.tar.gz" +checksum="2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745" + +post_install() { + # license is in the wally-cli/patches/license.diff + # see PR for license https://github.com/zsa/wally-cli/pull/3/commits/b832f6b1997c0a7ee206e08f3d03127885378265 + vlicense license.md + + # WALLY UDEV RULE FOR DEVICE RELATED EVENT + cat <