mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
I manually went through some entries for `pkgcheck scan -c VariableOrderCheck`. Misc updates: UnusedEclassesCheck RESTRICT+=" .." -> RESTRICT=".." Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Julien Roy <julien@jroy.ca>
38 lines
881 B
Bash
38 lines
881 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="Decompilation of 3D Pinball for Windows - Space Cadet"
|
|
HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball"
|
|
SRC_URI="https://github.com/k4zmu2a/${PN}/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${PN}-Release_${PV}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
media-libs/libsdl2
|
|
media-libs/sdl2-mixer[midi]
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/"${P}"-respect-XDG_DATA_HOME.patch
|
|
)
|
|
|
|
src_install(){
|
|
dobin "${S}/bin/${PN}"
|
|
}
|
|
|
|
pkg_postinst(){
|
|
ewarn "This game is distributed without the data files."
|
|
ewarn "To play, copy the original DAT and SOUND files from a Windows or"
|
|
ewarn 'Full Tilt! installation and place them in $XDG_DATA_HOME/'"${PN}/"
|
|
ewarn "(usually: ~/.local/share/${PN}/)"
|
|
}
|