Search:  
Gentoo Wiki

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

#

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

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="Apprentice"
SRC_URI="http://drevil.warpcore.org/ags/files/windows/apprentice/apprentice.zip http://www.freewebs.com/thefind/apprentice.zip"
HOMEPAGE="http://herculeaneffort.adventuredevelopers.com/app1.html"

SLOT=""
LICENSE="apprentice"
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 App.exe ${D}${SHAREDIR}/ac2game.dat
	mv music.vox ${D}${SHAREDIR}/.
	
	# readme/clean-up
	mv 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/apprentice/apprentice-1.0.ebuild"

Last modified: Tue, 09 Aug 2005 18:52:00 +0000 Hits: 1,728