diff --git a/srcpkgs/remote-touchpad/template b/srcpkgs/remote-touchpad/template new file mode 100644 index 00000000000..7ed0b70f236 --- /dev/null +++ b/srcpkgs/remote-touchpad/template @@ -0,0 +1,22 @@ +# 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 " +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 +}