diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2015-01-05 10:48:35 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2015-01-05 10:48:35 +0000 |
commit | f580e7e7cecbfce396ce7d6698d9a2e1d510b8a3 (patch) | |
tree | 79339b29dcbea4d5d49ad02eb8a5676737a9f178 /games-arcade/komi | |
parent | typo (diff) | |
download | gentoo-2-f580e7e7cecbfce396ce7d6698d9a2e1d510b8a3.tar.gz gentoo-2-f580e7e7cecbfce396ce7d6698d9a2e1d510b8a3.tar.bz2 gentoo-2-f580e7e7cecbfce396ce7d6698d9a2e1d510b8a3.zip |
EAPI 5
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-arcade/komi')
-rw-r--r-- | games-arcade/komi/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/komi/files/komi-1.04-install.patch | 11 | ||||
-rw-r--r-- | games-arcade/komi/komi-1.04.ebuild | 16 |
3 files changed, 26 insertions, 9 deletions
diff --git a/games-arcade/komi/ChangeLog b/games-arcade/komi/ChangeLog index e567231e6f0b..a256047aa65b 100644 --- a/games-arcade/komi/ChangeLog +++ b/games-arcade/komi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/komi -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/ChangeLog,v 1.6 2010/08/25 16:24:44 mr_bones_ Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/ChangeLog,v 1.7 2015/01/05 10:48:35 tupone Exp $ + + 05 Jan 2015; Tupone Alfredo <tupone@gentoo.org> komi-1.04.ebuild, + +files/komi-1.04-install.patch: + EAPI 5 25 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> komi-1.04.ebuild: EAPI=2; respect LDFLAGS (bug #334457) diff --git a/games-arcade/komi/files/komi-1.04-install.patch b/games-arcade/komi/files/komi-1.04-install.patch new file mode 100644 index 000000000000..d00a48d296fb --- /dev/null +++ b/games-arcade/komi/files/komi-1.04-install.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2015-01-05 11:35:24.794160467 +0100 ++++ Makefile 2015-01-05 11:36:23.181058180 +0100 +@@ -24,8 +24,6 @@ + install: + install -d $(DESTDIR)$(DATAPATH) + cp -R komidata/* $(DESTDIR)$(DATAPATH) +- chmod -R 644 $(DESTDIR)$(DATAPATH) +- chmod 755 $(DESTDIR)$(DATAPATH) + install -d $(DESTDIR)$(BINPATH) + cp komi $(DESTDIR)$(BINPATH) + chmod 755 $(DESTDIR)$(BINPATH)/komi diff --git a/games-arcade/komi/komi-1.04.ebuild b/games-arcade/komi/komi-1.04.ebuild index a05b59cfa385..569de3a0b7b3 100644 --- a/games-arcade/komi/komi-1.04.ebuild +++ b/games-arcade/komi/komi-1.04.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/komi-1.04.ebuild,v 1.6 2010/08/25 16:24:44 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/komi-1.04.ebuild,v 1.7 2015/01/05 10:48:35 tupone Exp $ -EAPI=2 +EAPI=5 inherit eutils games DESCRIPTION="Komi the Space Frog - simple SDL game of collection" @@ -16,9 +16,12 @@ IUSE="" DEPEND="media-libs/libsdl[video] media-libs/sdl-mixer" +RDEPEND="${DEPEND}" +DOCS=( CHANGELOG.txt README.txt TROUBLESHOOTING.txt ) src_prepare() { - epatch "${FILESDIR}"/${PV}-DESTDIR.patch + epatch "${FILESDIR}"/${PV}-DESTDIR.patch \ + "${FILESDIR}"/${P}-install.patch sed -i \ -e "/^BINPATH/s:=.*:=${GAMES_BINDIR}/:" \ -e "/^DATAPATH/s:=.*:=${GAMES_DATADIR}/${PN}/:" \ @@ -29,14 +32,13 @@ src_prepare() { } src_compile() { - emake ECFLAGS="${CFLAGS}" || die "emake failed" + emake ECFLAGS="${CFLAGS}" } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + default newicon komidata/sprites_komi.bmp ${PN}.bmp make_desktop_entry komi Komi /usr/share/pixmaps/${PN}.bmp doman komi.6 - dodoc CHANGELOG.txt README.txt TROUBLESHOOTING.txt prepgamesdirs } |