diff options
author | Lukas Elsner <open@mindrunner.de> | 2013-12-12 13:31:05 +0100 |
---|---|---|
committer | Lukas Elsner <open@mindrunner.de> | 2013-12-12 13:31:05 +0100 |
commit | 8477c1fd3ea2acd4637a211d767d151b4f31e2c7 (patch) | |
tree | 4729479ebe615b5735fa89beb236189be5dc0770 /app-backup/insync-bin/insync-bin-1.0.26.ebuild | |
parent | ebuild fix (diff) | |
download | luman-8477c1fd3ea2acd4637a211d767d151b4f31e2c7.tar.gz luman-8477c1fd3ea2acd4637a211d767d151b4f31e2c7.tar.bz2 luman-8477c1fd3ea2acd4637a211d767d151b4f31e2c7.zip |
move/rename insync package, version bump insync
Diffstat (limited to 'app-backup/insync-bin/insync-bin-1.0.26.ebuild')
-rw-r--r-- | app-backup/insync-bin/insync-bin-1.0.26.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-backup/insync-bin/insync-bin-1.0.26.ebuild b/app-backup/insync-bin/insync-bin-1.0.26.ebuild new file mode 100644 index 0000000..aa7e255 --- /dev/null +++ b/app-backup/insync-bin/insync-bin-1.0.26.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Advanced cross-platform Google Drive client" +HOMEPAGE="https://www.insynchq.com/" +MAGIC="31705" +SRC_URI=" + x86? ( http://s.insynchq.com/builds/insync_${PV}.${MAGIC}_i386.deb ) + amd64? ( http://s.insynchq.com/builds/insync_${PV}.${MAGIC}_amd64.deb ) + nautilus? ( http://s.insynchq.com/builds/insync-nautilus_${PV}.${MAGIC}_all.deb ) + dolphin? ( http://s.insynchq.com/builds/insync-dolphin_${PV}.${MAGIC}_all.deb ) + thunar? ( http://s.insynchq.com/builds/insync-thunar_${PV}.${MAGIC}_all.deb ) + caja? ( http://s.insynchq.com/builds/insync-caja_${PV}.${MAGIC}_all.deb )" + +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +DEPEND="" +RDEPEND="${DEPEND} + nautilus? ( dev-python/nautilus-python ) + dolphin? ( kde-base/dolphin ) + thunar? ( dev-python/thunarx-python )" +IUSE="nautilus dolphin thunar caja" + +src_unpack() { + elog "If this fails with a deb2targz error, see" + elog "https://github.com/mrpdaemon/gentoo-overlay/issues/4" + mkdir "${S}" + cd "${S}" + + if use amd64 ; then + unpack insync_"${PV}.${MAGIC}"_amd64.deb + else + unpack insync_"${PV}.${MAGIC}"_i386.deb + fi + + unpack ./data.tar.gz + + if use nautilus ; then + unpack insync-nautilus_"${PV}.${MAGIC}"_all.deb + elif use dolphin ; then + unpack insync-dolphin_"${PV}.${MAGIC}"_all.deb + elif use thunar ; then + unpack insync-thunar_"${PV}.${MAGIC}"_all.deb + elif use caja ; then + unpack insync-caja_"${PV}.${MAGIC}"_all.deb + fi + + unpack ./data.tar.gz +} + +src_install() { + cp -pPR "${S}"/usr "${D}"/ || die "Installation failed" + + echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70${PN}" || die + insinto "/etc/revdep-rebuild" && doins "${T}/70${PN}" || die +} + +pkg_postinst() { + elog "To automatically start insync add 'insync' to your session" + elog "startup scripts. GNOME users can also choose to enable" + elog "the insync extension via gnome-tweak-tool." +} |