summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 15:48:25 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:33:57 +0200
commit0983016e1df2cf9234cf288dbbd59f745f6de11d (patch)
tree4f42fa82fccab1506bf9da649b3bc9bb284336f1 /games-puzzle
parentgames-puzzle/picpuz: Drop old (diff)
downloadgentoo-0983016e1df2cf9234cf288dbbd59f745f6de11d.tar.gz
gentoo-0983016e1df2cf9234cf288dbbd59f745f6de11d.tar.bz2
gentoo-0983016e1df2cf9234cf288dbbd59f745f6de11d.zip
games-puzzle/pipepanic: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..bc849e724279
--- /dev/null
+++ b/games-puzzle/pipepanic/pipepanic-0.1.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="A simple pipe connecting game"
+HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
+SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz"
+
+LICENSE="GPL-2 FreeArt"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}-source"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-gentoo.patch
+ # change harcoded data paths to match the install directory
+ sed -i \
+ -e "s:/opt/QtPalmtop/share/pipepanic/:/usr/share/${PN}/:" \
+ main.h \
+ || die "sed failed"
+}
+
+src_install() {
+ dobin "${PN}"
+
+ insinto "/usr/share/${PN}"
+ doins *.bmp
+ newicon PipepanicIcon64.png ${PN}.png
+ make_desktop_entry ${PN} "Pipepanic"
+ einstalldocs
+}