From 61d8599ec817da3c121a876c8e95f8c7a9aeb31d Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Fri, 21 Apr 2023 14:16:58 -0700 Subject: [PATCH] Version bump. --- .../surface-dtx-daemon-0.3.4-1.ebuild | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-misc/surface-dtx-daemon/surface-dtx-daemon-0.3.4-1.ebuild diff --git a/app-misc/surface-dtx-daemon/surface-dtx-daemon-0.3.4-1.ebuild b/app-misc/surface-dtx-daemon/surface-dtx-daemon-0.3.4-1.ebuild new file mode 100644 index 0000000..29eb8af --- /dev/null +++ b/app-misc/surface-dtx-daemon/surface-dtx-daemon-0.3.4-1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Utility to control attach/detach of clipboard on Surface Book devices." +HOMEPAGE="https://github.com/linux-surface/linux-surface" +SRC_URI="https://github.com/linux-surface/surface-dtx-daemon/releases/download/v${PV}-2/${PN}_${PV}-2_amd64.deb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}" + +src_prepare() { + unpack ./control.tar.xz + unpack ./data.tar.xz + + eapply_user + +} + +src_install() { + doins -r etc + doins -r usr + fperms 0755 /usr/bin/surface-dtx-userd + fperms 0755 /usr/bin/surface-dtx-daemon + fperms 0755 /etc/surface-dtx/attach.sh + fperms 0755 /etc/surface-dtx/detach.sh +} +