Subject: Re: [SM-Commit] GIT changes to master games grimoire by Dale E. Edmons (855a953c6cbd5c3d360b0d6a9995d9230d3a849f)
Date: Mon, 25 Feb 2008 17:20:11 +0100
On Monday 25 of February 2008 16:11:51 Dale E. Edmons wrote:
> --- /dev/null
> +++ b/games-arcade-3d/supertuxkart/BUILD
> @@ -0,0 +1,8 @@
> +./configure \
> + --prefix=${INSTALL_ROOT}/usr/games \
> + --datadir=${INSTALL_ROOT}/usr/share \
> + --sysconfdir=${INSTALL_ROOT}/etc \
> + --localstatedir=${INSTALL_ROOT}/var/games \
> + --mandir=${INSTALL_ROOT}/usr/share/man \
> + --infodir=${INSTALL_ROOT}/usr/share/info $OPTS &&
> +make
Does default_games_build not cut it?
> +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-0.3"
It would be nice to derive the 0.3 from the VERSION, so this field won't need
to be updated on subsequent version bumps.
> +mv
> $GAMEDIR/share/pixmaps/${SPELL}* $SHAREDIR/share/pixmaps/$SPELL.desktop &&
> +
> +# These might fail if there's other stuff there.
> +rmdir $INSTALL_ROOT/usr/games/share/applications || true &&
> +rmdir $INSTALL_ROOT/usr/games/share/pixmaps || true &&
> +rmdir $INSTALL_ROOT/usr/games/{bin,share} || true
This is bad. Now anything else in this file could fail and the spell would
say
INSTALL was succesful.
--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org
Attachment:
signature.asc Description: This is a digitally signed message part.