Search:  
Gentoo Wiki

Ucpt:Games-adventure/5days/5days-1.0.ebuild

#

Image:Ebuild_file.png Games-adventure/5days/5days-1.0.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="5 Days A Stranger"
SRC_URI="http://somewhere.beyond.de/sea/5days13.zip" # need mirror! FIXME
HOMEPAGE="http://netmonkey.cellosoft.com/5days/"

SLOT=""
LICENSE="5days"
KEYWORDS="x86"
IUSE=""

DEPEND=">=games-engines/ags-bin-2.70"

src_install() {
	cd ${WORKDIR}
	BINDIR=/usr/games/bin
	TITLE=${PN}
	SHAREDIR=/usr/share/games/${TITLE}
	
	mkdir -p ${D}${BINDIR} ${D}${SHAREDIR}
	
	# first install packaged files
	mv 5days.exe ${D}${SHAREDIR}/ac2game.dat
	
	# readme/clean-up
	mv 5days_readme.txt README
	dodoc README
	
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start ${TITLE}
	
	prepgamesdirs
	
	make_desktop_entry ${TITLE} "${DESCRIPTION}"
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/5days/5days-1.0.ebuild"

Last modified: Thu, 18 Aug 2005 05:45:00 +0000 Hits: 2,054