summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-09-12 21:32:44 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-09-12 21:38:39 -0400
commit8e7ac2adb6decb75238175d90a138ee2d6bce595 (patch)
tree2b39c514c9eefd6add148618db92ceedd4f071ae /games-action/battalion
parentgames-action/battalion: EAPI6->8, fix and keyword for ~amd64 (diff)
downloadgentoo-8e7ac2adb6decb75238175d90a138ee2d6bce595.tar.gz
gentoo-8e7ac2adb6decb75238175d90a138ee2d6bce595.tar.bz2
gentoo-8e7ac2adb6decb75238175d90a138ee2d6bce595.zip
games-action/battalion: drop 1.4b-r1
x86-only, not worth keeping Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action/battalion')
-rw-r--r--games-action/battalion/Manifest1
-rw-r--r--games-action/battalion/battalion-1.4b-r1.ebuild70
2 files changed, 0 insertions, 71 deletions
diff --git a/games-action/battalion/Manifest b/games-action/battalion/Manifest
index 148db2f77c1d..b4d48a78dd50 100644
--- a/games-action/battalion/Manifest
+++ b/games-action/battalion/Manifest
@@ -1,3 +1,2 @@
DIST battalion1.4b-r1.tar.bz2 1103031 BLAKE2B 393561b879813244c90cba1fe1186a65920bf383926c06c28f1ce3a04afa66eab08f3b35925495bf4ca9b0d37eb1925bad5cbace602a8cb575cc4d6c5410fd01 SHA512 5c2acf7941cfd4ae4c7f46b3df7c7e6090dfd099276c67b0de83a4e6e14de00b099814980a12bddf1349407e7e1e62f91da5d0da842fd26f240b9a6cb37ecb04
-DIST battalion1.4b.tar.bz2 942342 BLAKE2B 6a4bd9afc7202d68c2cf62fbfe5b3b8377069263d71adaad006d2b4803d5989b130e0ef7fd5b1479a7698d79c819bc463ab19f2fa1493d4caf616708091e2c83 SHA512 c3c615772012c63a709aaeaf4f23246760bf577b82eeec7cf5b2a479c6240fe4a2f839aca50540299ed4bee9b297f61fb8b7e1f5af74ea357f0d7e749d86f84b
DIST battalionSUN4.tar.gz 1593265 BLAKE2B 239dff49c4d2c33a440594c113f45d347e598935257e30a04a18bd0f6b440b7790436000213fcbacfa862187f4760b9927539977f144ff5e92d7dfddbb7f3d7e SHA512 1e1ea7c7232b99b01a85fdf0660877944d64172b751df1dcd63a6cbeb4179078e80879aca77d84bb37b68fcf082680243987d5b65c77e5ea48e8f5645f9b2ef0
diff --git a/games-action/battalion/battalion-1.4b-r1.ebuild b/games-action/battalion/battalion-1.4b-r1.ebuild
deleted file mode 100644
index ae310183dfe1..000000000000
--- a/games-action/battalion/battalion-1.4b-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Be a rampaging monster and destroy the city"
-HOMEPAGE="http://evlweb.eecs.uic.edu/aej/AndyBattalion.html"
-SRC_URI="http://evlweb.eecs.uic.edu/aej/BATTALION/${PN}${PV}.tar.bz2"
-S="${WORKDIR}"/${PN}${PV}
-
-LICENSE="battalion HPND"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND="
- virtual/glu
- virtual/opengl
- x11-libs/libX11"
-RDEPEND="${DEPEND}"
-
-DEPEND+=" virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${P}-warning.patch
- "${FILESDIR}"/${PN}-1.4b-fix-build-system.patch
-)
-
-src_prepare() {
- default
-
- # Modify data paths
- sed -i \
- -e "s:SOUNDS/:${EPREFIX}/usr/share/${PN}/SOUNDS/:" \
- -e "s:MUSIC/:${EPREFIX}/usr/share/${PN}/MUSIC/:" \
- audio.c || die
- sed -i \
- -e "s:DATA/:${EPREFIX}/usr/share/${PN}/DATA/:" \
- -e "s:/usr/tmp:${EPREFIX}/var/${PN}:" \
- battalion.c || die
- sed -i \
- -e "s:TEXTURES/:${EPREFIX}/usr/share/${PN}/TEXTURES/:" \
- graphics.c || die
-
- # Only .raw sound files are used on Linux. The .au files are not needed.
- rm {SOUNDS,MUSIC}/*.au || die
-}
-
-src_configure() {
- tc-export CC PKG_CONFIG
-}
-
-src_install() {
- dobin battalion
- einstalldocs
-
- insinto /usr/share/${PN}
- doins -r DATA MUSIC SOUNDS TEXTURES
-
- dodir /var/${PN}
- touch "${ED%/}"/var/${PN}/battalion_hiscore || die
- fperms 660 /var/${PN}/battalion_hiscore
-}
-
-pkg_postinst() {
- elog "Sound and music are not enabled by default."
- elog "Use the S and M keys to enable them in-game, or start the game with"
- elog "the -s and -m switches: battalion -s -m"
-}