# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-arch/squeeze/squeeze-0.2.3.ebuild,v 1.5 2011/01/29 07:46:01 ssuominen Exp $ EAPI=3 inherit fdo-mime gnome2-utils DESCRIPTION="a GTK+ based and advanced archive manager for use with Thunar file manager." HOMEPAGE="http://squeeze.xfce.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" # -sparc and -hppa: http://bugzilla.xfce.org/show_bug.cgi?id=3162 KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" IUSE="debug +pathbar +toolbar" RDEPEND="x11-libs/gtk+:2 >=dev-libs/dbus-glib-0.88 >=xfce-base/libxfce4util-4.4 xfce-extra/thunar-vfs" DEPEND="${RDEPEND} dev-util/pkgconfig dev-util/intltool sys-devel/gettext" src_configure() { econf \ --disable-gtk-doc \ --disable-dependency-tracking \ $(use_enable pathbar) \ $(use_enable toolbar) \ $(use_enable debug) } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS TODO } pkg_preinst() { gnome2_icon_savelist } pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update gnome2_icon_cache_update }