summaryrefslogtreecommitdiff
path: root/games-puzzle/pipepanic
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/pipepanic')
-rw-r--r--games-puzzle/pipepanic/Manifest2
-rw-r--r--games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild (renamed from games-puzzle/pipepanic/pipepanic-0.1.3.ebuild)22
2 files changed, 11 insertions, 13 deletions
diff --git a/games-puzzle/pipepanic/Manifest b/games-puzzle/pipepanic/Manifest
index 62da5cec01db..422d4981cf64 100644
--- a/games-puzzle/pipepanic/Manifest
+++ b/games-puzzle/pipepanic/Manifest
@@ -1,4 +1,4 @@
AUX pipepanic-0.1.3-gentoo.patch 584 BLAKE2B 7a785fc5494f71c14d2298caa87168a52d695e3b5c450c6f1395b9dee8f911fd35e28d23db4c14b252e337b203727647a48c4113b0b6349289a7044ed3c4145f SHA512 0fef3b79063bcae38412679ce5644d8d119ba3a86b8a752234d97b7009044373f6cda8e983b53864f266e5c00203fb278c61fa44af432014b1aba5a402d41bab
DIST pipepanic-0.1.3-source.tar.gz 232200 BLAKE2B 25a344d0a78196d8416d7da663e4400acfe010b6020c3b64764c1dcf6f07d7a434add6d5c2c607a17ca356eb67fb0c8572d72410ea8ca5df915f9802792400d9 SHA512 468f3194976c7030c2fa3d8f30eaa13cc25e0b04feeb48a5d1267d119eb991618bad14ddba0a8268e6b92f38f2a17bc5b119728b222b0ee50494807832ad2ab7
-EBUILD pipepanic-0.1.3.ebuild 915 BLAKE2B b838e0e101dc92e3679fcd8b136dc3dbc8687e3e3990f6c0f7bdfaff99932a4c79e5f52f46f4f16bce7546f34b0e1fdb2f8538fd9276823e55562dcb9a3115a2 SHA512 2a0c227ed5cf835fecc4ac3fd88e166c0a9c854f386be6263882c3b27fc5680c0f2a9337b8fdc7466b9c9286645f18ed50e91a886071e89c1065240f9e1138e4
+EBUILD pipepanic-0.1.3-r1.ebuild 869 BLAKE2B 8b4700bf2865b09dcf6f865e8cafdb5c5af4143bc986743c995042ed4b7d8f6e2e19eeb947911ef2aa557f3541656421e00aa7b8b303e7959c4c77b1eec2f5a5 SHA512 f1e1fb22f5c701a5e0a488c3610ec44f5ff540eb4e5f75d83b8b227add221b1986bcf15f2754ac430cd6045690edb958974ab12bbc94121965bab04c924543ce
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild
index 0ccc9171bcdf..bc849e724279 100644
--- a/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild
+++ b/games-puzzle/pipepanic/pipepanic-0.1.3-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 simple pipe connecting game"
HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
@@ -16,26 +16,24 @@ IUSE=""
DEPEND="media-libs/libsdl[video]"
RDEPEND="${RDEPEND}"
-S=${WORKDIR}/${P}-source
+S="${WORKDIR}/${P}-source"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
+ default
+ eapply "${FILESDIR}"/${P}-gentoo.patch
# change harcoded data paths to match the install directory
sed -i \
- -e "s:/opt/QtPalmtop/share/pipepanic/:${GAMES_DATADIR}/${PN}/:" \
+ -e "s:/opt/QtPalmtop/share/pipepanic/:/usr/share/${PN}/:" \
main.h \
|| die "sed failed"
}
src_install() {
- dogamesbin "${PN}"
+ dobin "${PN}"
- insinto "${GAMES_DATADIR}/${PN}"
+ insinto "/usr/share/${PN}"
doins *.bmp
newicon PipepanicIcon64.png ${PN}.png
make_desktop_entry ${PN} "Pipepanic"
-
- dodoc AUTHORS ChangeLog README
-
- prepgamesdirs
+ einstalldocs
}