jtc-overlay/app-office/ganttproject-bin/ganttproject-bin-2.8.1-r2024.ebuild
2022-08-30 15:46:53 -04:00

38 lines
925 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils java-pkg-2
MY_P=${PN/-bin}-${PVR}
DESCRIPTION="A tool for creating a project schedule by means of Gantt chart and resource load chart"
HOMEPAGE="http://ganttproject.sourceforge.net/"
SRC_URI="https://dl.ganttproject.biz/ganttproject-2.8.1/ganttproject-2.8.1-r2024.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip
>=virtual/jdk-1.4"
RDEPEND="virtual/jre"
S="${WORKDIR}/${MY_P}"
src_install() {
insinto /opt/${PN}
doins -r eclipsito.jar plugins/ || die
newbin "${FILESDIR}/${PV%.*}-${PN}" ${PN} || die
insinto /opt/${PN}/examples
doins *.gan || die
doicon "${S}/plugins/net.sourceforge.ganttproject/data/resources/icons/ganttproject.png"
make_desktop_entry ${PN} "GanttProject" ${PN/-bin} "Java;Office;ProjectManagement"
}