diff options
-rw-r--r-- | games-puzzle/larry/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/larry/files/larry-wrapper | 7 | ||||
-rw-r--r-- | games-puzzle/larry/larry-1-r1.ebuild (renamed from games-puzzle/larry/larry-1.ebuild) | 10 |
3 files changed, 22 insertions, 3 deletions
diff --git a/games-puzzle/larry/ChangeLog b/games-puzzle/larry/ChangeLog index b17b1752c825..e1fdeb1b4bcc 100644 --- a/games-puzzle/larry/ChangeLog +++ b/games-puzzle/larry/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/larry # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/ChangeLog,v 1.1 2013/07/13 22:07:07 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/ChangeLog,v 1.2 2013/07/14 00:21:32 hasufell Exp $ + +*larry-1-r1 (14 Jul 2013) + + 14 Jul 2013; Julian Ospald <hasufell@gentoo.org> -larry-1.ebuild, + +larry-1-r1.ebuild, +files/larry-wrapper: + fix locale bug via revbump *larry-1 (13 Jul 2013) diff --git a/games-puzzle/larry/files/larry-wrapper b/games-puzzle/larry/files/larry-wrapper new file mode 100644 index 000000000000..717be43fbd10 --- /dev/null +++ b/games-puzzle/larry/files/larry-wrapper @@ -0,0 +1,7 @@ +#!/bin/sh + +# https://forums.replaygamesinc.com/viewtopic.php?f=28&t=1141 +export LC_ALL=C + +cd "@GAMES_DIR@" +exec ./Larry-Linux "$@" diff --git a/games-puzzle/larry/larry-1.ebuild b/games-puzzle/larry/larry-1-r1.ebuild index a93e74cf4d55..ce047baddc4f 100644 --- a/games-puzzle/larry/larry-1.ebuild +++ b/games-puzzle/larry/larry-1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/larry-1.ebuild,v 1.1 2013/07/13 22:07:07 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/larry-1-r1.ebuild,v 1.1 2013/07/14 00:21:32 hasufell Exp $ EAPI=5 @@ -30,11 +30,17 @@ pkg_nofetch() { einfo } +src_prepare() { + sed \ + -e "s#@GAMES_DIR@#${GAMES_PREFIX_OPT}/${PN}#" \ + "${FILESDIR}"/${PN}-wrapper > "${S}"/larry || die +} + src_install() { newicon -s 128 Larry/Larry-Linux_Data/Resources/UnityPlayer.png ${PN}.png - games_make_wrapper ${PN} "./Larry-Linux" "${GAMES_PREFIX_OPT}/${PN}" make_desktop_entry ${PN} + dogamesbin larry # move it, over 4gb dodir "${GAMES_PREFIX_OPT}"/${PN} mv Larry/* "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/ || die |