Files
@ 399d04db873d
Branch filter:
Location: portage-overlay.git/games-rpg/pcgen/pcgen-6.09.04.ebuild - annotation
399d04db873d
788 B
application/vnd.gentoo.ebuild
media-sound/madfuload: convert to EAPI=7 standards
8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb 8f48f12283bb | # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop edos2unix
MY_PV=${PV/_rc/RC}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="D&D character generator"
HOMEPAGE="http://pcgen.org/"
SRC_URI="https://github.com/PCGen/pcgen/releases/download/${MY_PV}/${MY_P}-full.zip"
S="${WORKDIR}/${PN}"
LICENSE="LGPL-2.1 OGL-1.0a"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=virtual/jre-11:*"
BDEPEND="app-arch/unzip"
src_prepare() {
default
edos2unix ${PN}.sh
sed "#\./${PN}.sh#${T}/${PN}\.sh" ${PN}.sh > "${T}"/${PN} || die
rm -r LICENSE jre ${PN}*.{bat,exe,sh} || die
}
src_install() {
dobin "${T}"/${PN}
insinto /opt/${PN}
doins -r .
newicon system/icons/pcgen_128x128.png ${PN}.png
make_desktop_entry ${PN} PCGen
}
|