summaryrefslogtreecommitdiff
path: root/mate-extra/mintmenu/mintmenu-5.6.0.ebuild
blob: 1bf2b423ecdf7a4303a09d03ae85fd6701162c0d (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils gnome2-utils

DESCRIPTION="Advanced MATE menu"
HOMEPAGE="http://linuxmint.com"
SRC_URI="http://packages.linuxmint.com/pool/main/m/mintmenu/${PN}_${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT=""

DEPEND="
	dev-lang/python:2.7
	dev-python/pygtk:2
	>=dev-python/pyxdg-0.25
	>=dev-python/python-xlib-0.14"
RDEPEND="
	>=mate-base/mate-desktop-1.8.0
	>=mate-base/mate-panel-1.8.0
	>=mate-base/mate-menus-1.8.0[python]
	>=x11-misc/mozo-1.8.0"

S="${WORKDIR}/${PN}"

src_install() {
	exeinto /usr/bin || die
	doexe usr/bin/${PN} || die

	insinto /usr/$(get_libdir) || die
	doins -r usr/lib/* || die
	fperms 755 /usr/$(get_libdir)/linuxmint/mintMenu/*.py || die
	fperms 755 /usr/$(get_libdir)/linuxmint/mintMenu/plugins/*.py || die
	
	insinto /usr/share || die
	doins -r usr/share/* || die
}

pkg_postinst() {
	gnome2_schemas_update
}

pkg_postrm() {
	gnome2_schemas_update
}