blob: e97ae34651753f8e27d2c8142a3fb34dcf2b4d3f (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_P="tr-2.0.epsilon"
DESCRIPTION="Java-based Getting Things Done (GTD) application"
HOMEPAGE="http://thinkingrock.com.au/"
SRC_URI="mirror://sourceforge/thinkingrock/${MY_P}.zip"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.5.0"
DEPEND="${DEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
src_install() {
local installDir=/opt/${MY_P}
insinto /opt
doins -r "${S}"
fperms a+rx ${installDir}/bin/thinkingrock ${installDir}/bin/xdg-email ${installDir}/bin/xdg-open
# Symlink the wrapper script
dosym ${installDir}/bin/thinkingrock /usr/bin/thinkingrock
# Symlink the directory and the jar to have them without version number
dosym ${installDir} /opt/${PN}
newicon thinkingrock/resource/images/logo.png thinking-rock.png
newmenu "${FILESDIR}"/thinking-rock-2.0.desktop thinking-rock.desktop
}
|