mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-07 06:02:58 -04:00
games-roguelike/ShatteredPD: new package, add 3.3.8
Signed-off-by: Isaac Wetenkamp <iwetenkamp@proton.me>
This commit is contained in:
1
games-roguelike/ShatteredPD/Manifest
Normal file
1
games-roguelike/ShatteredPD/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ShatteredPD-v3.3.8-Java.jar 53761488 BLAKE2B 0626a0a007bd900bd31c3303485e8df2c79b9fcf8956a224cc045a1dfb7dccc9b22ebd62872dc3667e902be36975c0c00abdb26433f667212df1a9dd35db6707 SHA512 e765077c84643860eae0ba3c3e54a3d0094a1a6c3934c0c76e368bd91d7f2487907b4f2d8e6898959b06c9c585ec014d8b775e73318b5fb11bca11ee6e119de6
|
||||
43
games-roguelike/ShatteredPD/ShatteredPD-3.3.8.ebuild
Normal file
43
games-roguelike/ShatteredPD/ShatteredPD-3.3.8.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# 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
|
||||
}
|
||||
11
games-roguelike/ShatteredPD/metadata.xml
Normal file
11
games-roguelike/ShatteredPD/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>iwetenkamp@proton.me</email>
|
||||
<name>Isaac Wetenkamp</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">00-Evan/shattered-pixel-dungeon</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user