diff options
Diffstat (limited to 'app-office/upwork/upwork-4.0.144.0.ebuild')
-rw-r--r-- | app-office/upwork/upwork-4.0.144.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-office/upwork/upwork-4.0.144.0.ebuild b/app-office/upwork/upwork-4.0.144.0.ebuild new file mode 100644 index 00000000000..b368c854893 --- /dev/null +++ b/app-office/upwork/upwork-4.0.144.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit rpm eutils pax-utils + +# Binary only distribution +QA_PREBUILT="*" + +DESCRIPTION="Project collaboration and tracking software for upwork.com" +HOMEPAGE="https://www.upwork.com/" +SRC_URI="amd64? ( http://updates.team.odesk.com/binaries/v4_0_144_0_mj9j7zmoj9asg5f0/upwork_x86_64.rpm -> ${P}_x86_64.rpm ) + x86? ( http://updates.team.odesk.com/binaries/v4_0_144_0_mj9j7zmoj9asg5f0/upwork_i386.rpm -> ${P}_i386.rpm ) +" +LICENSE="ODESK" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/libgcrypt:11 + media-libs/alsa-lib + sys-libs/libcap + virtual/udev + x11-libs/gtk+:2 + x11-libs/gtkglext +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-desktop.patch" +} + +src_install() { + # Wrapper to the real executable + dobin usr/bin/upwork + + insinto /usr/share + pax-mark m usr/share/upwork/upwork + doins -r usr/share/upwork + dosym /usr/lib/libudev.so /usr/share/upwork/libudev.so.0 + + # Make this executable because it's the real executable + fperms 0755 /usr/share/upwork/upwork + + domenu usr/share/applications/upwork.desktop + doicon usr/share/pixmaps/upwork.png +} |