diff options
Diffstat (limited to 'app-office/upwork/upwork-5.4.2.8.ebuild')
-rw-r--r-- | app-office/upwork/upwork-5.4.2.8.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-office/upwork/upwork-5.4.2.8.ebuild b/app-office/upwork/upwork-5.4.2.8.ebuild new file mode 100644 index 000000000000..48ab98c73786 --- /dev/null +++ b/app-office/upwork/upwork-5.4.2.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils rpm + +DESCRIPTION="Project collaboration and tracking software for upwork.com" +HOMEPAGE="https://www.upwork.com/" +SRC_URI=" + amd64? ( https://updates-desktopapp.upwork.com/binaries/v5_4_2_8_17caa201e7ae4660/upwork-5.4.2.8-1fc24.x86_64.rpm -> ${P}_x86_64.rpm ) + x86? ( https://updates-desktopapp.upwork.com/binaries/v5_4_2_8_17caa201e7ae4660/upwork-5.4.2.8-1fc24.i386.rpm -> ${P}_i386.rpm )" + +LICENSE="ODESK" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist mirror" + +RDEPEND=" + dev-libs/expat + dev-libs/nspr + dev-libs/nss + gnome-base/gconf + media-libs/alsa-lib + media-libs/freetype + sys-apps/dbus + sys-libs/libcap + x11-libs/gtk+:3[cups]" + +S="${WORKDIR}" + +PATCHES=( "${FILESDIR}/${PN}-desktop-r2.patch" ) + +# Binary only distribution +QA_PREBUILT="*" + +src_install() { + pax-mark m opt/Upwork/upwork + + insinto /opt + doins -r opt/Upwork + fperms 0755 /opt/Upwork/upwork + + insinto /usr/share + doins -r usr/share/icons + + domenu usr/share/applications/upwork.desktop + doicon usr/share/icons/hicolor/128x128/apps/upwork.png +} |