mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 18:12:39 +01:00
games-arcade/spacecadetpinball: bump to 2.0.1, remove old
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg-utils
|
||||
|
||||
MY_PN="SpaceCadetPinball"
|
||||
|
||||
DESCRIPTION="Reverse engineering of 3D Pinball Space Cadet"
|
||||
HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball"
|
||||
SRC_URI="https://github.com/k4zmu2a/${MY_PN}/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://davipinheiro.com/wp-content/uploads/2021/02/Full-Tilt-Pinball_Win_EN.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="media-libs/libsdl2[haptic]
|
||||
media-libs/sdl2-mixer[wav,midi,timidity]"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-Release_${PV}"
|
||||
PATCHES=( "$FILESDIR/${P}-fix-cmake-install-path.patch" )
|
||||
|
||||
src_install() {
|
||||
insopts -m 0644
|
||||
insinto /usr/share/SpaceCadetPinball/
|
||||
doins ${WORKDIR}/FULLTILT/CADET/CADET.DAT
|
||||
|
||||
insinto /usr/share/SpaceCadetPinball/SOUND
|
||||
for snd in ${WORKDIR}/FULLTILT/CADET/SOUND/*
|
||||
do
|
||||
doins "${snd}"
|
||||
done
|
||||
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user