void-packages/srcpkgs/logiops/template

30 lines
1.0 KiB
Bash

# Template file for 'logiops'
pkgname=logiops
version=0.3.4
revision=1
_ipcgull_rev=cd0f9a8cefb5b2545e163fceb249fdbcbaf666aa
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel
glib-devel"
short_desc="Unofficial userspace driver for HID++ Logitech devices"
maintainer="T0mstone <realt0mstone@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/PixlOne/logiops"
changelog="https://github.com/PixlOne/logiops/releases"
distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz
https://github.com/PixlOne/ipcgull/archive/${_ipcgull_rev}.tar.gz"
checksum="9ba3b7cba00dcd770f3b3e6291af1539a2b558baeaec93a33c66fcaf903f82d3
6eed9fc32a899b28bdfc41483a2118e4b8fbae715578c54eb80bf425e76e2376"
skip_extraction="${_ipcgull_rev}.tar.gz"
post_extract() {
bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_ipcgull_rev.tar.gz" \
--strip-components=1 -C "$wrksrc/src/ipcgull"
}
post_install() {
vsconf logid.example.cfg logid.cfg
vsv logid
}