diff options
-rw-r--r-- | games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild deleted file mode 100644 index 3cebb6b78968..000000000000 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit base games - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" -SRC_URI="http://darklomax.org/tyrian/tyrian21.zip - http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/sdl-net" -# Yes, mercurial is needed to set the build version stamp. -DEPEND="${RDEPEND} - app-arch/unzip - dev-vcs/mercurial" -PATCHES=( - "${FILESDIR}/${PV}-datapath.diff" - "${FILESDIR}/${PV}-cflag-idiocy.diff" -) - -src_compile() { - emake DATA_PATH="${GAMES_DATADIR}/${PN}" || die "Compilation failed" -} - -src_install() { - dogamesbin opentyrian || die "Failed to install game binary" - dosym "${GAMES_BINDIR}/opentyrian" "${GAMES_BINDIR}/tyrian" || die "Failed to symlink" - dodoc CREDITS NEWS README || die "Failed to install documentation" - domenu linux/opentyrian.desktop || die "Failed to install desktop file" - for i in linux/icons/*.png ; do - local size=`echo ${i} | sed -e 's:.*-\([0-9]\+\).png:\1:'` - insinto /usr/share/icons/hicolor/${size}x${size}/apps - newins ${i} opentyrian.png || die "Failed to install program icon" - done - insinto "${GAMES_DATADIR}/${PN}" - cd "${WORKDIR}/tyrian21" - doins * || die "Failed to install game data" - prepgamesdirs -} |