void-packages/srcpkgs/kmonad/template

22 lines
676 B
Bash

# Template file for 'kmonad'
pkgname=kmonad
reverts="65b501defdd0049563752f8af8c8c57f5a1ae38b_1"
_githash=65b501defdd0049563752f8af8c8c57f5a1ae38b
version=0.4.1.20220321
revision=1
build_style=haskell-stack
stackage=lts-19.0
short_desc="Keyboard remapping utility providing qmk-like functionality"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/david-janssen/kmonad"
distfiles="${homepage}/archive/${_githash}.tar.gz"
checksum=2b0cb0c5d1575bf61b1c442476ad24103028c309d103fedb56214a3bb30f8c0f
nopie_files="/usr/bin/kmonad"
nocross=yes
post_install() {
vlicense LICENSE
vinstall ${FILESDIR}/60-kmonad.rules 644 usr/lib/udev/rules.d
}