Search:  
Gentoo Wiki

Ucpt:Games-adventure/benjordan/benjordan-2.0.ebuild

#

Image:Ebuild_file.png Games-adventure/benjordan/benjordan-2.0.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="Ben Jordan Paranormal Investigator, Episode 2"
SRC_URI='http://www.grundislavgames.com/games/bj2.zip'
HOMEPAGE="http://www.grundislavgames.com/bj/bj2.htm"

SLOT="2"
LICENSE="benjordan2"
KEYWORDS="x86"
IUSE=""

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

src_install() {
	cd ${WORKDIR}
	BINDIR=/usr/games/bin
	TITLE=${P}
	SHAREDIR=/usr/share/games/${TITLE}
	
	mkdir -p ${D}${BINDIR} ${D}${SHAREDIR}
	
	# first install packaged files
	#rmdir ${D}${SHAREDIR}
	mv * ${D}${SHAREDIR}
	cd ${D}${SHAREDIR}
	rm -f winsetup.exe
	mv acsetup.cfg acsetup.cfg.pkg
	mv BJ2.exe ac2game.dat
	#mv readme.txt README
	dodoc readme.html license.html
	rm -f readme.html license.html
		
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start ${TITLE}
	
	prepgamesdirs
	
	make_desktop_entry ${TITLE} "${DESCRIPTION}" ${SHAREDIR}/benj-logo.gif
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/benjordan/benjordan-2.0.ebuild"

Last modified: Wed, 07 Sep 2005 08:39:00 +0000 Hits: 1,790