summaryrefslogtreecommitdiff
path: root/games-puzzle/xpired
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/xpired
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/xpired')
-rw-r--r--games-puzzle/xpired/Manifest2
-rw-r--r--games-puzzle/xpired/xpired-1.22-r1.ebuild (renamed from games-puzzle/xpired/xpired-1.22.ebuild)26
2 files changed, 14 insertions, 14 deletions
diff --git a/games-puzzle/xpired/Manifest b/games-puzzle/xpired/Manifest
index 8d08ca670f4e..613f64a1d90e 100644
--- a/games-puzzle/xpired/Manifest
+++ b/games-puzzle/xpired/Manifest
@@ -1,4 +1,4 @@
AUX xpired-1.22-ldflags.patch 868 BLAKE2B 8230de4bfae81985ed37abb2c3810df680c64957411c0fa77c83d60581a373f2c85674bcbb5d4fd6070108981d76f6f2802fc5b191cdd8aa606f3f21df48d791 SHA512 81987d60466c459a98ac03b8f4bdf8da7c6004a716a83051b58ec35657ab3a93672305ff9a8edcf9e056784919c9ea235f81c71176bf6d4b75d5dabc72b1b7f9
DIST xpired-1.22-linux_source.tar.gz 478593 BLAKE2B 54ee871017e39bd599a1e5e13df282d309d4ef9c91c7bf1e6eab31cd83d5f2bb4d31d9c08df091796d9f61f55eb0d54e9745b8162f9e9116eeac98d7c49b0f9d SHA512 08e506e6206be9346bde083a9cdd25a890c0100826a7fb2b515b60180cfd0b885712261db2e7a5d589078c0b74f2b9ad659b39d9378cb3dc92af111ab499ee10
-EBUILD xpired-1.22.ebuild 905 BLAKE2B cfefe5e00fce0c14aae9d310bb85f165e4efaa42ae05b1d87783ae495304bdcd6b1ed426e5877f6d776e1a5b7914baaad66c8b56249f1c4d51a2c2e92a27f382 SHA512 cf66cd05421aaaf834c84027b1a71688a3e306e6db828a707bec280bd26b19ffe45f70c759ba5336b7db4a9c2b63180136365966c128b5802c9832f908a00d34
+EBUILD xpired-1.22-r1.ebuild 867 BLAKE2B 7b8889364640262e543f705428f4032bd8e0906f7e59bc0027b9de59cfaa2fd55584159e659bb5a5f6be24ed5e800e764ef15118eb0fdafffed14dd0f09a2225 SHA512 f656f9466e29e94ea267c5f7e996d6732d7076fe7fb1779a2be0551eac0f49b57950bcdf13240872ee871cf9b9655542002c6b3742058abc3f3f70adb28bb719
MISC metadata.xml 329 BLAKE2B 7c524c47d197b0205ef4fb908c0546932d08eedaf250445b796b7da70d100dd72bdbd82b6ef1cc551622046af5c0ee6d7b53db64bd6cfc14389a7d739f44d9d8 SHA512 457c612953cc30db620e0315c75ecb20619ee537692e0a871d0c60e8cedaa547bc9e50eb922bf995eb68bde526c641e901d3bfc9d88a097263f5bd90c68f257e
diff --git a/games-puzzle/xpired/xpired-1.22.ebuild b/games-puzzle/xpired/xpired-1.22-r1.ebuild
index 8c27e559e753..8ea6b7243bf8 100644
--- a/games-puzzle/xpired/xpired-1.22.ebuild
+++ b/games-puzzle/xpired/xpired-1.22-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 Sokoban-styled puzzle game with lots more action"
HOMEPAGE="http://xpired.sourceforge.net"
@@ -16,27 +16,27 @@ IUSE=""
DEPEND="media-libs/sdl-gfx
media-libs/sdl-image[jpeg]
media-libs/sdl-mixer[mod]"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
-S=${WORKDIR}/src
+S="${WORKDIR}/src"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-ldflags.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
src_compile() {
emake \
- PREFIX=/usr/games \
- SHARE_PREFIX=/usr/share/games/xpired
+ PREFIX=/usr \
+ SHARE_PREFIX=/usr/share/xpired
}
src_install() {
emake \
- PREFIX="${D}/usr/games" \
- SHARE_PREFIX="${D}/usr/share/games/${PN}" \
+ PREFIX="${D}/usr" \
+ SHARE_PREFIX="${D}/usr/share/${PN}" \
install
+
newicon img/icon.bmp ${PN}.bmp
make_desktop_entry xpired Xpired /usr/share/pixmaps/${PN}.bmp
make_desktop_entry xpiredit "Xpired Level Editor"
- prepgamesdirs
+
+ einstalldocs
}