Initial import

This commit is contained in:
2022-08-30 15:46:53 -04:00
commit e712bb5dc2
274 changed files with 27716 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Traditional roguelike game with pixel-art graphics and simple interface"
HOMEPAGE="https://github.com/00-Evan/shattered-pixel-dungeon"
SRC_URI="https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v${PV}/ShatteredPD-v${PV}-Desktop.jar -> ${P}.jar"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
mkdir -p "${S}"
cp "${DISTDIR}/${A}" "${WORKDIR}/"
}
src_configure() {
true
}
src_compile() {
true
}
src_install() {
local dest="/opt/${PN%-bin}"
local ddest="${ED}/${dest#/}"
mkdir -p "${ddest}/lib"
cp "${WORKDIR}/${P}.jar" "${ddest}/lib/shattered-pixel.jar"
mkdir -p "${ED}/usr/share/applications"
cp "${FILESDIR}/shattered-pixel.desktop" "${ED}/usr/share/applications/"
}