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
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.3.8 | 8 | ~amd64 | 0 |
# 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
}
| 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 |