Ucpt:Games-strategy/bos/bos-1.1.ebuild

From Gentoo Linux Wiki

Jump to: navigation, search
#

Image:Ebuild_file.png Games-strategy/bos/bos-1.1.ebuild

Back to the Index
inherit games

DESCRIPTION="Invasion - Battle of Survival is a real-time strategy game using the Stratagus game engine"
HOMEPAGE="http://bos.seul.org/"
SRC_URI="http://bos.seul.org/files/bos_1_1.tar.gz"

LICENSE="GPL-2"
SLOT=""
KEYWORDS="x86"
IUSE=""

RDEPEND=">=games-engines/stratagus-2.1"
DEPEND=""

src_install() {
	cd ${WORKDIR}/bos_1_1
	mkdir -p ${D}/usr/share/games
	mv data ${D}/usr/share/games/${PN}
	dodoc LICENSE.txt README.txt
	mkdir -p ${D}/usr/games/bin
	cd ${D}/usr/games/bin
	cat > ${PN} << EOF
#!/bin/bash
stratagus -d /usr/share/games/${PN} \$*
EOF
	prepgamesdirs
	make_desktop_entry ${PN} "Invasion - Battle of Survival"
}
 # 
Personal tools