febuild/app-misc/unified-remote/unified-remote-9999.ebuild

40 lines
733 B
Bash
Executable File

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="The one-and-only remote for your computer."
HOMEPAGE="https://www.unifiedremote.com/"
SRC_URI="urserver.deb"
S="${WORKDIR}"
LICENSE=""
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
RESTRICT="strip mirror bindist fetch"
DEPEND="
"
PATCHES=("${FILESDIR}/unified-remote-clickfix.patch")
src_unpack() {
unpack_deb "${SRC_URI}"
}
src_install() {
sed -i '/^OnlyShowIn=/d' ${S}/usr/share/applications/urserver.desktop
cp -r ${S}/usr ${D}
cp -r ${S}/opt ${D}
}
pkg_nofetch() {
einfo "Please place the unified remote installation file ${SRC_URI}"
einfo "in your \$\{DISTDIR\}."
}