void-packages/srcpkgs/logiops/template

30 lines
1.0 KiB
Bash

# Template file for 'logiops'
pkgname=logiops
version=0.3.3
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="d176fcd248f42da330d098ac9c05ea8de31ce7a3de5d879213202a01a0b85de7
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
}