Search:  
Gentoo Wiki

Ucpt:Games-adventure/black-cauldron-remake/black-cauldron-remake-1.2.ebuild

#

Image:Ebuild_file.png Games-adventure/black-cauldron-remake/black-cauldron-remake-1.2.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="Black Cauldron Remake"
SRC_URI="http://tg_comics.tripod.com/bc_remake.zip"
HOMEPAGE="http://tg_comics.tripod.com/bc.html"

SLOT=""
LICENSE="black-cauldron-remake"
KEYWORDS="x86"
IUSE=""

DEPEND=">=games-engines/ags-bin-2.70
>=app-arch/unzip-5.50"

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 source.zip "${D}${SHAREDIR}/."
	unzip executable.zip
	mv bc.exe ${D}${SHAREDIR}/ac2game.dat
	mv *.dll ${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/black-cauldron-remake/black-cauldron-remake-1.2.ebuild"

Last modified: Wed, 10 Aug 2005 05:28:00 +0000 Hits: 1,734