blob: 5cf0a78c0cc1fd0509f0ea26978a51d94e47ab8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 ~amd64"
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}
}
|