blob: d9a580dba9d99ffb07a929e699d886813f2c848b (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.4 2011/10/26 19:06:38 ssuominen Exp $
EAPI=4
inherit eutils java-utils-2
DESCRIPTION="freedesktop.org specification compatible menu editor"
HOMEPAGE="http://lxmed.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.5
x11-libs/gksu"
DEPEND=""
S=${WORKDIR}/${PN}/content
src_prepare() {
sed -i -e '/^Icon/s:=.*:=lxmed:' lxmed.desktop || die
}
src_install() {
java-pkg_dojar LXMenuEditor.jar
java-pkg_dolauncher lxmed --jar LXMenuEditor.jar
doicon lxmed.png
domenu lxmed.desktop
}
|