summaryrefslogtreecommitdiff
path: root/games-arcade/defendguin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
commit8aebb228036d5e2863b7eaa6e319ab41c1669269 (patch)
tree00f4b90ce32462dc8e99ae54a31d6462ea2c3ac6 /games-arcade/defendguin
parent76cba73c47c8694e74377004634daca18f2d9c08 (diff)
gentoo resync : 16.04.2018
Diffstat (limited to 'games-arcade/defendguin')
-rw-r--r--games-arcade/defendguin/Manifest2
-rw-r--r--games-arcade/defendguin/defendguin-0.0.12-r1.ebuild (renamed from games-arcade/defendguin/defendguin-0.0.12.ebuild)16
2 files changed, 10 insertions, 8 deletions
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest
index 676c0b195c43..9b957608744e 100644
--- a/games-arcade/defendguin/Manifest
+++ b/games-arcade/defendguin/Manifest
@@ -1,3 +1,3 @@
DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167
-EBUILD defendguin-0.0.12.ebuild 949 BLAKE2B 27c3b98d881e7f7c7dcbd419f87a27ff7e075accf7100db1d49bf2fa88c0d62dce073c36d205c830f0f6ce8536ed70885217730da71cf589f451353b35c7f097 SHA512 d3ff27114cd9544b172fb9830a6236f7551ee9779ba7b302d060a8ab2fc284194d5f56934b430bf368572165f267bb8a356d747d4823ff313ad6fa85bf5dbe78
+EBUILD defendguin-0.0.12-r1.ebuild 921 BLAKE2B 81735673664173bda825eccd41f766ef89581fb98d911a111c71e07eb39091d5b96e6956eb57f89e1cffb7c0cc8fba9d967953b07c565d11690e4893ff535dfa SHA512 026d5689a5b60a046984efdbc25bee3641660edcce12d8cf2ea4e41ebfae326e38fd5be16541548941662ac72ce5d7e1d36776fbf59f4596e1b466ca6c733df7
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/defendguin/defendguin-0.0.12.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild
index 1dab751e0ae6..db692cd67f23 100644
--- a/games-arcade/defendguin/defendguin-0.0.12.ebuild
+++ b/games-arcade/defendguin/defendguin-0.0.12-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 games
+EAPI=6
+inherit desktop
DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
@@ -18,8 +18,9 @@ DEPEND="media-libs/sdl-mixer[mod]
RDEPEND="${DEPEND}"
src_prepare() {
+ default
sed -i \
- -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
+ -e "s:\$(DATA_PREFIX):/usr/share/${PN}/:" \
-e '/^CFLAGS=.*-O2/d' \
-e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \
Makefile \
@@ -28,12 +29,13 @@ src_prepare() {
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin ${PN}
+ insinto /usr/share/${PN}
doins -r ./data/*
+
newicon data/images/ufo/ufo0.bmp ${PN}.bmp
make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp
+
doman src/${PN}.6
dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
- prepgamesdirs
}