games-roguelike/ShatteredPD - 3.3.8 (guru)

Search

Install

Install this version:

emerge -a =games-roguelike/ShatteredPD-3.3.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-roguelike/ShatteredPD-3.3.8

Or alternatively:

emerge --autounmask-write -a =games-roguelike/ShatteredPD-3.3.8

Package Information

Description:
A traditional roguelike dungeon crawler
Homepage:
https://shatteredpixel.com/shatteredpd/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.3.8 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop xdg-utils

DESCRIPTION="A traditional roguelike dungeon crawler"
HOMEPAGE="https://shatteredpixel.com/shatteredpd/"
SRC_URI="https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v${PV}/${PN}-v${PV}-Java.jar"
S="${WORKDIR}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=virtual/jre-21:*"
DEPEND="${RDEPEND}"

IDEPEND="dev-util/desktop-file-utils
		 dev-util/gtk-update-icon-cache"

src_install() {
	# Install all icons
	local x
	for x in 16 32 48 64 128 256; do
		newicon -s ${x} icons/icon_${x}.png ${PN}.png
	done

	insinto /opt/${PN}-${SLOT}/lib
	doins "${DISTDIR}/${PN}-v${PV}-Java.jar"
	make_desktop_entry "java -jar /opt/${PN}-${SLOT}/lib/${PN}-v${PV}-Java.jar" "${PN}" "${PN}"
}

pkg_postinst() {
	xdg_desktop_database_update
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_desktop_database_update
	xdg_icon_cache_update
}

Inherited Eclasses

Dependencies

DEPEND

>=virtual/jre-21:*

RDEPEND

>=virtual/jre-21:*

Manifest for 3.3.8

Type File Size Source URLs
DIST ShatteredPD-v3.3.8-Java.jar 53761488 bytes https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v3.3.8/ShatteredPD-v3.3.8-Java.jar