summaryrefslogtreecommitdiff
path: root/games-arcade/balloonchase
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/balloonchase')
-rw-r--r--games-arcade/balloonchase/Manifest4
-rw-r--r--games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild (renamed from games-arcade/balloonchase/balloonchase-0.9.6.ebuild)24
-rw-r--r--games-arcade/balloonchase/files/0.9.6-gentoo.patch8
3 files changed, 18 insertions, 18 deletions
diff --git a/games-arcade/balloonchase/Manifest b/games-arcade/balloonchase/Manifest
index 907838f61294..c85d80474641 100644
--- a/games-arcade/balloonchase/Manifest
+++ b/games-arcade/balloonchase/Manifest
@@ -1,4 +1,4 @@
-AUX 0.9.6-gentoo.patch 6146 BLAKE2B 6d06f3590f0ba9a74cad13a5b2b310deecb6a84dd7e61c37a16f2938d6ff07c2b3d0ac7fd1e51b8bf800d1f9a13d9b44d05822cec6e161f5e7e3b7b2c3a9536d SHA512 80b1027436d5e13f16f4c98265480035684fb0d6ea2000f9beccbecaf94f5678e5930ad961e58e78572c08935f856d2c6330d99bd97cb2f7791fb6cebc7dbcb2
+AUX 0.9.6-gentoo.patch 6154 BLAKE2B a8729b678e4d8ece1ad327e0d35b63fddef5b28f9878efc89802ee8c4263dd9a758f1d13f66ce7125d069dc1874de680ff96888461516f142716b668a46ec687 SHA512 a16b70a3c1ba071b8e058e252843827e8a5b63d5b87e2332a93cb8d43e00ccbfd6b7aa13406275980c7a7cffd32b1b1453bf5d1f9c9c0b585cc969f5b9c6ae81
DIST balloonchase-0.9.6.tar.bz2 523085 BLAKE2B 50e453327d51da3fe40f52850cb2fbb7a10e897f59bac5d6f4a676d3211d3dcdae00359304ad119252ebf98e9f46482ad801078762f16ddc609bc94b68c3fc18 SHA512 ab5617713c96187564926fd5ecbdbf5186f78c23cfb43b26b28b9d18e71330efd77700cf7cd02e04be7fd8e33f2d30bf59f64954135ac82802d1d839dc2e7767
-EBUILD balloonchase-0.9.6.ebuild 861 BLAKE2B b4e068003975f9339e926050e4f108b355d255168bd99717d99faf5748f4b1107eccb2df8cdb3ea278c6d6f629cc064016da70e6dbabfd659085c1f466a8b1a4 SHA512 3f5d37318e508b2a5c29bccf6797e29336233d59a0f45fa1848c2af37c5df2fe44acee151d64da8f1d8e4aa33c825f8ef92b8754169d3382e181e6f35d9f6eef
+EBUILD balloonchase-0.9.6-r1.ebuild 823 BLAKE2B 8fe0e1701765087731667d8a6fbbf97c4151fcbbca003f21c6ffbdf4306b35dd26f52b4313ebc862609d981793113957094fad8e2017208b4bf013c6a8f98178 SHA512 86eea2e2b37420a01a4bc9993c0b7e81590a2331fb702dbf57a8bbdad0d14cf5c8aaaa43267301987862552f5d8b584c18697f6f040ba5427532e8097f7efd90
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/balloonchase/balloonchase-0.9.6.ebuild b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
index 44e1c0eec9b4..36976cc63a40 100644
--- a/games-arcade/balloonchase/balloonchase-0.9.6.ebuild
+++ b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs games
+EAPI=6
+inherit desktop toolchain-funcs
DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen"
-HOMEPAGE="http://koti.mbnet.fi/makegho/c/bchase/"
-SRC_URI="http://koti.mbnet.fi/makegho/c/bchase/${P}.tar.bz2"
+HOMEPAGE="http://makegho.mbnet.fi/c/bchase/"
+SRC_URI="http://makegho.mbnet.fi/c/bchase/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -14,21 +14,21 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl[video]"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${PV}-gentoo.patch
+ default
+ eapply "${FILESDIR}"/${PV}-gentoo.patch
sed -i "s:g++:$(tc-getCXX):" Makefile || die
sed -i \
- -e "s:GENTOODIR:${GAMES_DATADIR}/${PN}:" src/main.c || die
+ -e "s:GENTOODIR:/usr/share/${PN}:" src/main.c || die
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin ${PN}
+ insinto /usr/share/${PN}
doins -r images
newicon images/kp2b.bmp ${PN}.bmp
make_desktop_entry ${PN} "Balloon Chase" /usr/share/pixmaps/${PN}.bmp
- dodoc README
- prepgamesdirs
+ einstalldocs
}
diff --git a/games-arcade/balloonchase/files/0.9.6-gentoo.patch b/games-arcade/balloonchase/files/0.9.6-gentoo.patch
index 55e978850bbe..ff232693422b 100644
--- a/games-arcade/balloonchase/files/0.9.6-gentoo.patch
+++ b/games-arcade/balloonchase/files/0.9.6-gentoo.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,4 +1,3 @@
-LDFLAGS= -lSDL -lpthread -s
CFLAGS= -Wall # -DDEBUG
@@ -16,8 +16,8 @@
pkg:
@echo $(PKG_BCVERSION) >VERSION
rm balloonchase src/*.o
---- src/main.c
-+++ src/main.c
+--- a/src/main.c
++++ b/src/main.c
@@ -333,47 +333,47 @@
int InitImages()