From 3c4b305871a4e83fc0995dc8701acbe8b0955b5c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 7 Feb 2010 20:11:57 +0100 Subject: added mimeo package (easy file opening) --- x11-misc/mimeo/mimeo-0.2.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 x11-misc/mimeo/mimeo-0.2.ebuild (limited to 'x11-misc/mimeo/mimeo-0.2.ebuild') diff --git a/x11-misc/mimeo/mimeo-0.2.ebuild b/x11-misc/mimeo/mimeo-0.2.ebuild new file mode 100644 index 0000000..b04556f --- /dev/null +++ b/x11-misc/mimeo/mimeo-0.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit python + +DESCRIPTION="open files using mimetype associations" +HOMEPAGE="http://xyne.archlinux.ca/info/mimeo" +SRC_URI="http://xyne.archlinux.ca/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_install() { + insinto $(python_get_sitedir)/${PN} + newins mimeo/mimeo mimeo.py + doins ${FILESDIR}/__init__.py + + exeinto /usr/bin + doexe ${FILESDIR}/mimeo + doexe ${FILESDIR}/mimeo-2.6 +} + +pkg_postinst() { + python_mod_optimize $(python_get_sitedir)/${PN} +} + + +pkg_postrm() { + python_mod_cleanup $(python_get_sitedir)/${PN} +} -- cgit v1.2.3