void-packages/srcpkgs/wally-cli/template

24 lines
791 B
Bash
Raw Normal View History

# 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
}