Search:  
Gentoo Wiki

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

#

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

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="Apprentice II: The Knight's Move"
SRC_URI="http://herculeaneffort.adventuredevelopers.com/apprentice2a.zip"
HOMEPAGE="http://herculeaneffort.adventuredevelopers.com/"

SLOT=""
LICENSE="apprentice2"
KEYWORDS="x86"
IUSE=""

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

src_install() {
	cd ${WORKDIR}
	BINDIR=/usr/games/bin
	SHAREDIR=/usr/share/games/apprentice2
	
	mkdir -p ${D}${BINDIR} ${D}${SHAREDIR}
	
	# first install packaged files
	rmdir ${D}${SHAREDIR}
	mv App2 ${D}${SHAREDIR}
	cd ${D}${SHAREDIR}
	mv App2.exe ac2game.dat
	
	# readme/clean-up
	dodoc readme.html
	rm -f readme.html winsetup.exe
	
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start apprentice2
	
	prepgamesdirs
	
	make_desktop_entry apprentice2 "Apprentice II: The Knight's Move" ${SHAREDIR}/images/logo2.gif
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/apprentice2/apprentice2-1.0.ebuild"

Last modified: Mon, 08 Aug 2005 10:38:00 +0000 Hits: 2,037