void-packages/srcpkgs/remote-touchpad/template
2024-11-23 16:00:44 -05:00

22 lines
1.1 KiB
Bash

# Template file for 'remote-touchpad'
pkgname=remote-touchpad
version=1.4.8
revision=1
build_style=go
go_import_path="github.com/unrud/remote-touchpad"
go_build_tags="portal,uinput,x11"
makedepends="libX11-devel libXt-devel libXrandr-devel libXtst-devel"
short_desc="Control mouse and keyboard from the web browser of another device"
maintainer="Dakota Richline <drichline@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/Unrud/remote-touchpad"
changelog="https://github.com/Unrud/remote-touchpad/blob/master/CHANGELOG.md"
distfiles="https://github.com/Unrud/remote-touchpad/archive/refs/tags/v${version}.tar.gz"
checksum="a6f8a4f61ba7dc0f0cbd64545b0ed07952f51d50851caaa5a6c55f00c46e5b82"
post_install() {
vbin desktop/remote-touchpad-wait-on-error
vinstall desktop/com.github.unrud.RemoteTouchpad.svg 644 usr/share/icons/hicolor/scalable/apps
vinstall desktop/com.github.unrud.RemoteTouchpad.desktop 644 usr/share/applications com.github.unrud.remotetouchpad.desktop # must be lowercase for xdg-desktop-menu to accept
vinstall desktop/com.github.unrud.RemoteTouchpad.metainfo.xml 644 usr/share/metainfo
}