summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/thunar-dropbox/thunar-dropbox-0.2.1.ebuild')
-rw-r--r--xfce-extra/thunar-dropbox/thunar-dropbox-0.2.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.1.ebuild b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.1.ebuild
new file mode 100644
index 0000000..be81c98
--- /dev/null
+++ b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2-utils multilib python-any-r1 waf-utils
+
+DESCRIPTION="Plugin for thunar that adds context-menu items for dropbox."
+HOMEPAGE="http://www.softwarebakery.com/maato/thunar-dropbox.html"
+SRC_URI="http://www.softwarebakery.com/maato/files/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-misc/dropbox
+ >=xfce-base/thunar-1.2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog )
+
+src_prepare() {
+ sed -e "s:gtk-update-icon-cache.*:/bin/true':" \
+ -e "s:/lib/:/$(get_libdir)/:" -i wscript || die "sed failed"
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update /usr/share/icons/hicolor; }
+pkg_postrm() { gnome2_icon_cache_update /usr/share/icons/hicolor; }