games-*/*: fix variable order

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>
This commit is contained in:
Lucio Sauer
2024-04-28 01:18:34 +02:00
committed by Julien Roy
parent e9e9388f65
commit d6ae7d0c07
44 changed files with 151 additions and 165 deletions

View File

@@ -9,6 +9,8 @@ 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"
@@ -19,8 +21,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-Release_${PV}"
src_prepare(){
# the paths should be relative
sed -i "s|/Platform|Platform|g" CMakeLists.txt || die

View File

@@ -9,6 +9,8 @@ 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"
@@ -23,8 +25,6 @@ PATCHES=(
"${FILESDIR}"/"${P}"-respect-XDG_DATA_HOME.patch
)
S="${WORKDIR}/${PN}-Release_${PV}"
src_install(){
dobin "${S}/bin/${PN}"
}

View File

@@ -9,6 +9,8 @@ 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 ~arm64 ~ppc64"
@@ -19,8 +21,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-Release_${PV}"
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"