diff options
author | Christoph Mende <angelos@gentoo.org> | 2012-08-05 18:15:19 +0200 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2012-08-05 18:15:19 +0200 |
commit | 771c8fca90279d544ab718fa8d9d7d74879692cd (patch) | |
tree | 54e096d6f5402fd6504aab2649178fae0985e4f5 /xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild | |
parent | gtkvncviewer: Fix Manifest (diff) | |
download | angelos-771c8fca90279d544ab718fa8d9d7d74879692cd.tar.gz angelos-771c8fca90279d544ab718fa8d9d7d74879692cd.tar.bz2 angelos-771c8fca90279d544ab718fa8d9d7d74879692cd.zip |
thunar-dropbox: Initial import
(Portage version: 2.2.0_alpha120/git/Linux x86_64, signed Manifest commit with key 84F20B43)
Diffstat (limited to 'xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild')
-rw-r--r-- | xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild new file mode 100644 index 0000000..1bb9df5 --- /dev/null +++ b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_DEPEND="2:2.6" + +inherit gnome2-utils multilib python 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 ) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +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; } |