1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Java-based Getting Things Done (GTD) application"
9 HOMEPAGE="http://thinkingrock.com.au/"
10 SRC_URI="http://mesh.dl.sourceforge.net/sourceforge/thinkingrock/${MY_P}.zip"
17 RDEPEND=">=virtual/jre-1.5.0"
24 local installDir=/opt/${MY_P}
28 fperms a+rx ${installDir}/bin/thinkingrock ${installDir}/bin/xdg-email ${installDir}/bin/xdg-open
29 # Symlink the wrapper script
30 dosym ${installDir}/bin/thinkingrock /usr/bin/thinkingrock
31 # Symlink the directory and the jar to have them without version number
32 dosym ${installDir} /opt/${PN}
34 newicon thinkingrock/resource/images/logo.png thinking-rock.png
35 newmenu "${FILESDIR}"/thinking-rock-2.0.desktop thinking-rock.desktop