Skip to content

Commit

Permalink
games-action/orbital-eunuchs-sniper: EAPI8, minor improvements
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <[email protected]>
Closes: gentoo#22105
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
mm1ke authored and ionenwks committed Aug 29, 2021
1 parent bd93b01 commit c9590dc
Showing 1 changed file with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=8

inherit autotools desktop

MY_P=${PN//-/_}-${PV}
MY_P="${PN//-/_}-${PV}"
DESCRIPTION="Snipe terrorists from your orbital base"
HOMEPAGE="http://icculus.org/oes/"
SRC_URI="http://filesingularity.timedoctor.org/${MY_P}.tar.gz"
HOMEPAGE="https://icculus.org/oes/"
SRC_URI="https://icculus.org/oes/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="media-libs/libsdl[joystick,video]
DEPEND="
media-libs/libsdl[joystick,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]"
RDEPEND=${DEPEND}
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}
DOCS=( AUTHORS ChangeLog readme.txt README TODO )

PATCHES=(
"${FILESDIR}"/${P}-datadir.patch
"${FILESDIR}"/${P}-gcc43.patch
)

src_prepare() {
default

Expand All @@ -36,7 +38,6 @@ src_prepare() {
}

src_install() {
DOCS="AUTHORS ChangeLog readme.txt README TODO" \
default
make_desktop_entry snipe2d "Orbital Eunuchs Sniper"
default
make_desktop_entry snipe2d "Orbital Eunuchs Sniper" applications-games
}

0 comments on commit c9590dc

Please sign in to comment.