canutethegreat-overlay/app-office/insync/insync-3.4.3.40990.ebuild

48 lines
998 B
Bash
Raw Normal View History

2021-07-31 22:27:50 -07:00
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
inherit xdg-utils font gnome2-utils eutils
KEYWORDS="~amd64"
DESCRIPTION="Insync extends Google Drive & OneDrive's web functionality to your desktop by integrating tightly with Linux so you can get work done"
HOMEPAGE="https://www.insynchq.com/"
SRC_URI="https://d2t3ff60b2tol4.cloudfront.net/builds/${PN}_${PV}-focal_amd64.deb"
###SRC_URI="https://d2t3ff60b2tol4.cloudfront.net/builds/insync_3.4.3.40990-focal_amd64.deb"
SLOT="0"
RESTRICT="strip mirror" # mirror as explained at bug #547372
LICENSE="insynchq-EULA"
IUSE=""
VRDEPEND="
x11-misc/xdg-utils/xdg-utils
dev-libs/nss
app-crypt/gnupg
"
DEPEND="
"
S="${WORKDIR}"
src_prepare() {
2021-07-31 22:30:16 -07:00
unpack ./control.tar.gz
unpack ./data.tar.gz
2021-07-31 22:27:50 -07:00
eapply_user
}
src_install() {
doins -r usr
2021-07-31 22:35:00 -07:00
dosym /usr/lib/insync/insync /usr/bin/insync
2021-07-31 22:42:26 -07:00
fperms 0755 /usr/lib/insync/insync
2021-07-31 22:27:50 -07:00
}
pkg_postrm() {
/usr/bin/gtk-update-icon-cache
}