diff options
Diffstat (limited to 'games-puzzle/twindistress')
-rw-r--r-- | games-puzzle/twindistress/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/twindistress/Manifest | 2 | ||||
-rw-r--r-- | games-puzzle/twindistress/files/digest-twindistress-1.03 | 1 | ||||
-rw-r--r-- | games-puzzle/twindistress/metadata.xml | 9 | ||||
-rw-r--r-- | games-puzzle/twindistress/twindistress-1.03.ebuild | 58 |
5 files changed, 80 insertions, 0 deletions
diff --git a/games-puzzle/twindistress/ChangeLog b/games-puzzle/twindistress/ChangeLog new file mode 100644 index 000000000000..a0d7399eb513 --- /dev/null +++ b/games-puzzle/twindistress/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/twindistress +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/ChangeLog,v 1.1 2004/02/22 13:28:21 mr_bones_ Exp $ + +*twindistress-1.03 (22 Feb 2004) + + 22 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml, + twindistress-1.03.ebuild: + initial commit; ebuild submitted by scott@teamslack.net via bug #42325 + diff --git a/games-puzzle/twindistress/Manifest b/games-puzzle/twindistress/Manifest new file mode 100644 index 000000000000..b7e699322958 --- /dev/null +++ b/games-puzzle/twindistress/Manifest @@ -0,0 +1,2 @@ +MD5 39502e1daba7b31d8e03215da830e3fe twindistress-1.03.ebuild 1642 +MD5 3d996cc3315e3f1d4c8abc912004b0a1 files/digest-twindistress-1.03 63 diff --git a/games-puzzle/twindistress/files/digest-twindistress-1.03 b/games-puzzle/twindistress/files/digest-twindistress-1.03 new file mode 100644 index 000000000000..105dc9d5863a --- /dev/null +++ b/games-puzzle/twindistress/files/digest-twindistress-1.03 @@ -0,0 +1 @@ +MD5 389dbe8b002bdcc9f87f967e492aeb7c twind-1.03.tar.gz 2814686 diff --git a/games-puzzle/twindistress/metadata.xml b/games-puzzle/twindistress/metadata.xml new file mode 100644 index 000000000000..1cef6e243af3 --- /dev/null +++ b/games-puzzle/twindistress/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> +<email>games@gentoo.org</email> +<name>Games Team</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/twindistress/twindistress-1.03.ebuild b/games-puzzle/twindistress/twindistress-1.03.ebuild new file mode 100644 index 000000000000..7a9cd1c72ae6 --- /dev/null +++ b/games-puzzle/twindistress/twindistress-1.03.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/twindistress-1.03.ebuild,v 1.1 2004/02/22 13:28:21 mr_bones_ Exp $ + +inherit eutils games + +MY_P="twind-${PV}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Match and remove all of the blocks before time runs out" +HOMEPAGE="http://twind.sourceforge.net/" +SRC_URI="mirror://sourceforge/twind/${MY_P}.tar.gz" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="virtual/x11 + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "s:/usr/local/bin/:${GAMES_BINDIR}/:" \ + -e "s:/usr/local/share/games/twind/:${GAMES_DATADIR}/${PN}/:" \ + -e "s:/var/lib/games/twind/:${GAMES_STATEDIR}/${PN}/:" \ + Makefile \ + || die "sed Makefile failed" +} + +src_install() { + dogamesbin twind || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp -r graphics/ music/ sound/ "${D}${GAMES_DATADIR}/${PN}" \ + || die "cp failed" + insinto /usr/share/pixmaps + doins graphics/twind.png || die "doins failed" + make_desktop_entry twind "Twin Distress" twind.png \ + || die "make_desktop_entry failed" + dodoc AUTHORS CREDITS ChangeLog NEWS README TODO || die "dodoc failed" + dodir "${GAMES_STATEDIR}/${PN}" || die "dodir failed" + touch "${D}${GAMES_STATEDIR}/${PN}/twind.hscr" + prepgamesdirs + fperms 660 "${GAMES_STATEDIR}/${PN}/twind.hscr" || die "fperms failed" +} + +pkg_postinst() { + games_pkg_postinst + echo + einfo "If sdl_mixer isn't built with ogg vorbis support, then you won't" + einfo "be able to hear the music" + echo +} |