summaryrefslogtreecommitdiff
path: root/games-arcade/missile
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/missile')
-rw-r--r--games-arcade/missile/Manifest4
-rw-r--r--games-arcade/missile/files/missile-1.0.1-ldflags.patch4
-rw-r--r--games-arcade/missile/missile-1.0.1-r1.ebuild (renamed from games-arcade/missile/missile-1.0.1.ebuild)25
3 files changed, 16 insertions, 17 deletions
diff --git a/games-arcade/missile/Manifest b/games-arcade/missile/Manifest
index b37c38abab7d..9cf5ad13b9ce 100644
--- a/games-arcade/missile/Manifest
+++ b/games-arcade/missile/Manifest
@@ -1,4 +1,4 @@
-AUX missile-1.0.1-ldflags.patch 437 BLAKE2B 5612601c16482722f05dc8b7ba7194267d4fbd759b509f52668f4b343259a653630db2554788fbd29d29d0498d8a94e51218f01f33cdf85e723a30fba8760215 SHA512 198c97deca4815fc93849b3d24c30a94c0d42c87c2ba279afda4c6a69a2953982a9454a8518c4b8f6b3e0c30deb8a8b90115b2db3edadbb43be398f839ccd36c
+AUX missile-1.0.1-ldflags.patch 441 BLAKE2B 165f02176acb378833043931c696459c449b4c77389a84cefb62a11cb77c7c743157e29d7c2de927f57babcb6790c307676bae6d022a181963cf29b9da923992 SHA512 f29ce3eacbde93ec61a327462ab8096a1530752bec6391f98b5999af9b3fec5cd0ffc6a02e592a74ea5d7f535b3e6224bf9bb10537a55ab0c9bdbdd85e50d0f2
DIST missile-1.0.1.tar.gz 214933 BLAKE2B a1131971051008b9be4d79b3b92d630653cc045988c62ba1090f482bccd62ba4f63320882e75c889c64c9b54bad0c5270400c0b9f54dfc6be4cb1e3ac2f42a36 SHA512 32d30213d433fd3d02d74c4614747bdc2e3012c77793dfb7b869d774b7f43f4d0eb6b1a0e5db805d976e7919404c57cbbaa20f21954dfd4475ddaa6c2f6c0cc2
-EBUILD missile-1.0.1.ebuild 1106 BLAKE2B d16783701a3041905cef161169308b6fb9c4b733c4cc626fac32bdaa419771f1c4065973f9d82c9a2c4aeec628e6ed8eb4b331aae051b57026df1382027dedb1 SHA512 80634c89ab3ba5964d0318f71d364ac3c43cffb4f718a21eb34965d623a067a0f75804ad60acbc02744f0428ec9ce4951717224e69bb6dcacef64d44cf05cb0f
+EBUILD missile-1.0.1-r1.ebuild 1040 BLAKE2B 79710c97bb71b8ec2b23bbd43d5f015457e4b2880254ad983ba3936a6cdd4df8a556f7aafe0fe914a1d6fac73cbd8d7014976f1c0107ec5b98b724a36ecbe182 SHA512 58f6dcc1aac56aec4500e3ba83a38563de5485aedae66322bbf3d7c4a6faee98ca8d1b36157f9c4624da7292508b6863cf1f289d87e93c7e2d0862f5fbf16e36
MISC metadata.xml 330 BLAKE2B 9b2dd9925eec0680e98ae011358f7530aa05d1155883f3d97f2814bbbb30726c27a0f37a731f4ad379a8f2f34428f659373f93adf070ccc4dae6c168c6f0dba0 SHA512 ab5f1e51dec4ccf1f6d4d78282b5fe1ed115cabc124ca34ec0ab11246a76017ec60c1df83fedf4e88a6b35ab48a6d1f5e0b5dc8785c4031aba868c37d280b3a4
diff --git a/games-arcade/missile/files/missile-1.0.1-ldflags.patch b/games-arcade/missile/files/missile-1.0.1-ldflags.patch
index 5d2288165745..744b8192c5b9 100644
--- a/games-arcade/missile/files/missile-1.0.1-ldflags.patch
+++ b/games-arcade/missile/files/missile-1.0.1-ldflags.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2010-09-22 09:11:48.000000000 +0200
-+++ Makefile 2010-09-22 09:13:08.000000000 +0200
+--- a/Makefile.old 2010-09-22 09:11:48.000000000 +0200
++++ b/Makefile 2010-09-22 09:13:08.000000000 +0200
@@ -125,10 +125,10 @@
fi
diff --git a/games-arcade/missile/missile-1.0.1.ebuild b/games-arcade/missile/missile-1.0.1-r1.ebuild
index 1b7653b64b3c..2e9d9e9874db 100644
--- a/games-arcade/missile/missile-1.0.1.ebuild
+++ b/games-arcade/missile/missile-1.0.1-r1.ebuild
@@ -1,8 +1,8 @@
-# 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 gnome2-utils games
+EAPI=6
+inherit desktop gnome2-utils
DESCRIPTION="The game Missile Command for Linux"
HOMEPAGE="http://missile.sourceforge.net/"
@@ -15,36 +15,35 @@ IUSE=""
DEPEND="media-libs/libsdl[sound,video]
media-libs/sdl-image[png]
- media-libs/sdl-mixer"
-RDEPEND=${DEPEND}
+ media-libs/sdl-mixer
+"
+RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-ldflags.patch
+ default
+ eapply "${FILESDIR}"/${P}-ldflags.patch
sed -i \
-e '/^CC/d' \
- -e "s:\$(game_prefix)/\$(game_data):${GAMES_DATADIR}/${PN}:" \
+ -e "s:\$(game_prefix)/\$(game_data):/usr/share/${PN}:" \
-e "s/-O2/${CFLAGS}/" \
-e 's/-lSDL_image $(SND_LIBS)/-lSDL_image -lm $(SND_LIBS)/g' \
Makefile || die
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin ${PN}
+ insinto /usr/share/${PN}
doins -r data/*
newicon -s 48 icons/${PN}_icon_black.png ${PN}.png
make_desktop_entry ${PN} "Missile Command"
- dodoc README
- prepgamesdirs
+ einstalldocs
}
pkg_preinst() {
- games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
gnome2_icon_cache_update
}