diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-15 03:56:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-15 03:56:08 +0000 |
commit | fc2b274a52068113727c6bcb0418df2075dda82e (patch) | |
tree | 054bc2f066d673129ccddd47c679d45f37cf4582 /games-misc/typespeed | |
parent | amd64 love / cleanups (diff) | |
download | gentoo-2-fc2b274a52068113727c6bcb0418df2075dda82e.tar.gz gentoo-2-fc2b274a52068113727c6bcb0418df2075dda82e.tar.bz2 gentoo-2-fc2b274a52068113727c6bcb0418df2075dda82e.zip |
Version bump.
(Portage version: 2.1)
Diffstat (limited to 'games-misc/typespeed')
-rw-r--r-- | games-misc/typespeed/ChangeLog | 7 | ||||
-rw-r--r-- | games-misc/typespeed/files/digest-typespeed-0.5.1 | 3 | ||||
-rw-r--r-- | games-misc/typespeed/typespeed-0.5.1.ebuild | 56 |
3 files changed, 65 insertions, 1 deletions
diff --git a/games-misc/typespeed/ChangeLog b/games-misc/typespeed/ChangeLog index 3f9aa7d681ed..ea09c4d9f897 100644 --- a/games-misc/typespeed/ChangeLog +++ b/games-misc/typespeed/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-misc/typespeed # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/typespeed/ChangeLog,v 1.8 2006/06/14 18:26:19 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/typespeed/ChangeLog,v 1.9 2006/06/15 03:56:08 vapier Exp $ + +*typespeed-0.5.1 (15 Jun 2006) + + 15 Jun 2006; Mike Frysinger <vapier@gentoo.org> +typespeed-0.5.1.ebuild: + Version bump. 14 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org> typespeed-0.5.0.ebuild: diff --git a/games-misc/typespeed/files/digest-typespeed-0.5.1 b/games-misc/typespeed/files/digest-typespeed-0.5.1 new file mode 100644 index 000000000000..bdcda4440d18 --- /dev/null +++ b/games-misc/typespeed/files/digest-typespeed-0.5.1 @@ -0,0 +1,3 @@ +MD5 a39a4f76c047803c0b3d295d136365f0 typespeed-0.5.1.tar.gz 54776 +RMD160 e2cfe12fc60279d1a05fb497edd57b4eef83a358 typespeed-0.5.1.tar.gz 54776 +SHA256 742d629c38faff730e663703359fda7a5b9636488192485f1a860d5f7d6384b1 typespeed-0.5.1.tar.gz 54776 diff --git a/games-misc/typespeed/typespeed-0.5.1.ebuild b/games-misc/typespeed/typespeed-0.5.1.ebuild new file mode 100644 index 000000000000..f84776dbd504 --- /dev/null +++ b/games-misc/typespeed/typespeed-0.5.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/typespeed/typespeed-0.5.1.ebuild,v 1.1 2006/06/15 03:56:08 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Test your typing speed, and get your fingers CPS" +HOMEPAGE="http://tobias.eyedacor.org/typespeed/" +SRC_URI="http://tobias.eyedacor.org/typespeed/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc x86" +IUSE="" + +DEPEND="sys-libs/ncurses" + +src_unpack() { + unpack ${A} + cd "${S}" + local f + for f in words.* ; do + touch high.${f} + done +} + +src_compile() { + emake \ + CFLAGS="${CFLAGS} -Wall" \ + HIGHFILES="${GAMES_STATEDIR}/${PN}" \ + WORDFILES="${GAMES_DATADIR}/${PN}" \ + || die +} + +src_install() { + dogamesbin typespeed || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp words.* "${D}${GAMES_DATADIR}/${PN}/" || die "cp failed" + dodoc README TODO Changes BUGS + doman typespeed.6 + insinto "${GAMES_STATEDIR}/${PN}" + doins high.words.* || die "doins failed" + prepgamesdirs + chmod g+w "${D}${GAMES_STATEDIR}"/${PN}/* +} + +pkg_postrm() { + echo + einfo "${PN} scorefiles was installed into ${GAMES_STATEDIR}/${PN}" + einfo "and haven't been removed." + einfo "To get rid of ${PN} completely, you can safely remove" + einfo "${GAMES_STATEDIR}/${PN} running:" + echo + einfo "rm -rf ${GAMES_STATEDIR}/${PN}" + echo +} |