30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'logiops'
|
|
pkgname=logiops
|
|
version=0.3.5
|
|
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="c44b34765ca502a3cbbc2c711f5b85770042e1b176f818e03c705d69cab7554e
|
|
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
|
|
}
|