67 lines
1.7 KiB
Bash
67 lines
1.7 KiB
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils unpacker user pam
|
|
|
|
DESCRIPTION="Remote DesktopManager"
|
|
HOMEPAGE="https://remotedesktopmanager.com"
|
|
|
|
SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager.Free_${PV}_amd64.deb"
|
|
|
|
LICENSE=""
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE=""
|
|
|
|
RESTRICT="strip mirror test"
|
|
|
|
DEPEND="net-libs/webkit-gtk:4
|
|
app-misc/ca-certificates
|
|
app-crypt/libsecret:0
|
|
gnome-base/gnome-keyring:0"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
#QA_TEXTRELS="opt/${PN}/$(get_libdir)/${PN}/*
|
|
# opt/${PN}/$(get_libdir)/libNeroAPI.so"
|
|
#QA_EXECSTACK="opt/${PN}/$(get_libdir)/nero/*"
|
|
#QA_PREBUILT="opt/${PN}/${PN}.*
|
|
# opt/${PN}/${PN}
|
|
# opt/${PN}/$(get_libdir)/.*so
|
|
# opt/${PN}/$(get_libdir)/${PN}/*
|
|
# opt/${PN}/$(get_libdir)/${PN}/plug-ins/*
|
|
# usr/share/${PN}/helpers/splash/nerosplash"
|
|
|
|
S=${WORKDIR}
|
|
|
|
#pkg_setup() {
|
|
# enewgroup openvpn_as
|
|
# enewuser openvpn_as -1 -1 -1 openvpn_as
|
|
#}
|
|
|
|
|
|
src_unpack() {
|
|
unpack_deb ${A}
|
|
}
|
|
|
|
#src_prepare() {
|
|
# epatch "${FILESDIR}/gentoo-specific.patch"
|
|
#}
|
|
|
|
src_install() {
|
|
dodir /opt/devolutions/RemoteDesktopManager.Free
|
|
cp -aR usr/lib/devolutions/RemoteDesktopManager.Free/* "${D}/opt/devolutions/RemoteDesktopManager.Free"
|
|
dodir /opt/bin
|
|
sed -e 's!usr/lib!opt!g' bin/remotedesktopmanager.free > "${D}/opt/bin/remotedesktopmanager.free"
|
|
chmod +x ${D}/opt/bin/remotedesktopmanager.free
|
|
dodir /usr/share/applications
|
|
sed -e "s!usr/lib!opt!g" usr/share/applications/remotedesktopmanager.free.desktop > "${D}/usr/share/applications/remotedesktopmanager.free.desktop"
|
|
dodir /usr/share/icons
|
|
cp -aR usr/share/icons/* "${D}/usr/share/icons"
|
|
}
|