diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 07:27:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 07:27:09 +0000 |
commit | 6d9cb4149212c45e8e48c1b0b7c869af3d4d306c (patch) | |
tree | 983f440754ca839280a51268d17a7b6eed1deb9e /games-action/chickens | |
parent | Version bump. (Manifest recommit) (diff) | |
download | gentoo-2-6d9cb4149212c45e8e48c1b0b7c869af3d4d306c.tar.gz gentoo-2-6d9cb4149212c45e8e48c1b0b7c869af3d4d306c.tar.bz2 gentoo-2-6d9cb4149212c45e8e48c1b0b7c869af3d4d306c.zip |
Initial commit (bug #56367)
Diffstat (limited to 'games-action/chickens')
-rw-r--r-- | games-action/chickens/ChangeLog | 10 | ||||
-rw-r--r-- | games-action/chickens/Manifest | 2 | ||||
-rw-r--r-- | games-action/chickens/chickens-0.2.0.ebuild | 50 | ||||
-rw-r--r-- | games-action/chickens/files/digest-chickens-0.2.0 | 1 | ||||
-rw-r--r-- | games-action/chickens/metadata.xml | 5 |
5 files changed, 68 insertions, 0 deletions
diff --git a/games-action/chickens/ChangeLog b/games-action/chickens/ChangeLog new file mode 100644 index 000000000000..fe6d95a425bd --- /dev/null +++ b/games-action/chickens/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-action/chickens +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/ChangeLog,v 1.1 2004/07/10 07:27:09 mr_bones_ Exp $ + +*chickens-0.2.0 (10 Jul 2004) + + 10 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +chickens-0.2.0.ebuild: + Initial commit (bug #56367, submitted ebuild not used) + diff --git a/games-action/chickens/Manifest b/games-action/chickens/Manifest new file mode 100644 index 000000000000..0efec46ec6d2 --- /dev/null +++ b/games-action/chickens/Manifest @@ -0,0 +1,2 @@ +MD5 9615433fdd37102b04268634fd1fa006 chickens-0.2.0.ebuild 921 +MD5 748d201688c821c11a9f4dd83dce80e3 files/digest-chickens-0.2.0 81 diff --git a/games-action/chickens/chickens-0.2.0.ebuild b/games-action/chickens/chickens-0.2.0.ebuild new file mode 100644 index 000000000000..808f3b717528 --- /dev/null +++ b/games-action/chickens/chickens-0.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/chickens-0.2.0.ebuild,v 1.1 2004/07/10 07:27:09 mr_bones_ Exp $ + +inherit games + +MY_P="ChickensForLinux-Linux-${PV}" +DESCRIPTION="Target chickens with rockets and shotguns. Funny" +HOMEPAGE="http://havoc.sourceforge.net/chickens" +SRC_URI="http://havoc.sourceforge.net/chickens/files/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="virtual/x11 + media-libs/allegro" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S="${WORKDIR}/chickens" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "s:HighScores:${GAMES_STATEDIR}/${PN}/HighScores:" \ + -e "s:....\(.\)\(_\)\(.*.4x0\)\(.\):M\4\2\x42\x6Fn\1s\2:" \ + highscore.cpp HighScores \ + || die "sed highscore.cpp failed" + sed -i \ + -e "s:\"sound/:\"${GAMES_DATADIR}/${PN}/sound/:" \ + -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" main.cpp \ + || die "sed main.cpp failed" + chmod a-x {dat,sound}/* +} + +src_install() { + dogamesbin chickens || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp -r {dat,sound} "${D}/${GAMES_DATADIR}/${PN}" \ + || die "cp failed" + dodoc AUTHOR README TODO + insinto "${GAMES_STATEDIR}/${PN}" + doins HighScores || die "doins failed" + fperms g+w "${GAMES_STATEDIR}/${PN}/HighScores" + prepgamesdirs + +} diff --git a/games-action/chickens/files/digest-chickens-0.2.0 b/games-action/chickens/files/digest-chickens-0.2.0 new file mode 100644 index 000000000000..3a0991c93c9f --- /dev/null +++ b/games-action/chickens/files/digest-chickens-0.2.0 @@ -0,0 +1 @@ +MD5 8f7305a1fad1436489de6cf0e98dd1ec ChickensForLinux-Linux-0.2.0.tar.gz 1009031 diff --git a/games-action/chickens/metadata.xml b/games-action/chickens/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-action/chickens/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |