Wrote an ebuild for games-board/xfrisk-1.3 and fixed Bug 409355. Reproducible: Always
Created attachment 348870 [details] Ebuild
Comment on attachment 348870 [details] Ebuild --- xfrisk-1.2.ebuild 2011-08-04 02:18:44.000000000 +0200 +++ - 2013-05-22 03:50:09.557407152 +0200 @@ -1,13 +1,13 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/xfrisk-1.2.ebuild,v 1.10 2011/08/02 05:46:50 mattst88 Exp $ +# $Header: $ EAPI=2 inherit games DESCRIPTION="The RISK board game" -HOMEPAGE="http://tuxick.net/xfrisk/" -SRC_URI="http://tuxick.net/xfrisk/files/XFrisk-${PV}.tar.gz" +HOMEPAGE="http://old.tuxick.net/xfrisk/" +SRC_URI="http://old.tuxick.net/xfrisk/files/xfrisk-${PV}-rc1.tar.gz" LICENSE="GPL-2" KEYWORDS="amd64 ppc sparc x86" @@ -19,9 +19,11 @@ DEPEND="${RDEPEND} x11-libs/libXaw" -S=${WORKDIR}/XFrisk +S=${WORKDIR}/xfrisk-${PV}-rc1 -src_prepare() { +src_configure() { + CFLAGS=$(sed "s/-O[0-9]//g" <<< ${CFLAGS}) + econf --prefix="${GAMES_PREFIX}" sed -i \ -e '/^CC=/d' \ -e '/^LDFLAGS=/d' \ @@ -32,7 +34,13 @@ } src_install() { - emake PREFIX="${D}/${GAMES_PREFIX}" install || die + emake DESTDIR="${D}" install || die dodoc BUGS ChangeLog FAQ TODO + + echo -e "[Desktop Entry]\nName=Xfrisk\nType=Application" >> xfrisk.desktop + echo -e "Comment=The RISK board game\nExec=risk\nCategories=Game;\n" >> xfrisk.desktop + insinto usr/share/applications + doins xfrisk.desktop + prepgamesdirs }
Why would be bump it to an rc version instead of just punting it when the package is clearly dead upstream?
Uh, didn't notice that, sorry
xfrisk masked for removal