diff options
Diffstat (limited to 'dev-util/catfish/catfish-1.0.2.ebuild')
-rw-r--r-- | dev-util/catfish/catfish-1.0.2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/catfish/catfish-1.0.2.ebuild b/dev-util/catfish/catfish-1.0.2.ebuild new file mode 100644 index 000000000000..d5d7a908e511 --- /dev/null +++ b/dev-util/catfish/catfish-1.0.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catfish/catfish-1.0.2.ebuild,v 1.1 2014/07/28 11:45:16 ssuominen Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3} ) +inherit gnome2-utils python-single-r1 + +DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot" +HOMEPAGE="http://launchpad.net/catfish-search http://twotoasts.de/index.php/catfish/" +SRC_URI="http://launchpad.net/${PN}-search/${PV%.*}/${PV}/+download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND="${COMMON_DEPEND} + virtual/freedesktop-icon-theme" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + python_fix_shebang . + sed -i -e "s:share/doc/\$(APPNAME):share/doc/${PF}:" Makefile.in.in || die +} + +src_configure() { + ./configure --prefix=/usr --python="${EPYTHON}" || die +} + +src_install() { + emake DESTDIR="${D}" install + python_optimize "${ED}"/usr/share/${PN} +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |