Search:  
Gentoo Wiki

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

#

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

Download - Bugs - Discussion - History

Back to the Index

inherit eutils games

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

SLOT="1"
LICENSE="benjordan1"
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 BJ1.exe ac2game.dat
	#mv readme.txt README
	#dodoc README
	#rm -f 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/benjordan/benjordan-1.0.ebuild"

Last modified: Wed, 07 Sep 2005 08:38:00 +0000 Hits: 1,868