--- /usr/portage/games-roguelike/adom/adom-1.1.1-r1.ebuild 2012-09-24 03:01:16.000000000 +0200 +++ adom-1.2.0_pre20.ebuild 2014-01-26 12:00:57.059908980 +0100 @@ -1,37 +1,37 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/adom/adom-1.1.1-r1.ebuild,v 1.11 2012/09/24 00:37:02 vapier Exp $ + +EAPI="4" inherit eutils games DESCRIPTION="Ancient Domains Of Mystery rogue-like game" HOMEPAGE="http://www.adom.de/" -SRC_URI="http://www.adom.de/adom/download/linux/${P//.}-elf.tar.gz" +SRC_URI=" + x86? ( http://www.ancardia.com/download/${PN}_linux_debian_32_${PV}.tar.gz ) + amd64? ( http://www.ancardia.com/download/${PN}_linux_debian_64_${PV}.tar.gz ) + arm? ( http://www.ancardia.com/download/${PN}_linux_arm_${PV}.tar.gz )" + LICENSE="adom" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="x86 amd64 arm" IUSE="" -RESTRICT="strip" #bug #137340 -QA_FLAGS_IGNORED="${GAMES_PREFIX_OPT:1}/bin/adom" +RESTRICT="strip" +QA_FLAGS_IGNORED="${GAMES_BINDIR}/${PN}" -DEPEND=">=sys-libs/ncurses-5.0 - amd64? ( app-emulation/emul-linux-x86-baselibs )" +DEPEND="!arm? ( >=sys-libs/ncurses-5.0[tinfo] )" S=${WORKDIR}/${PN} src_install() { - exeinto "${GAMES_PREFIX_OPT}/bin" + exeinto "${GAMES_BINDIR}" doexe adom - keepdir "${GAMES_STATEDIR}/${PN}" - echo "${GAMES_STATEDIR}/${PN}" > adom_ds.cfg - insinto /etc - doins adom_ds.cfg - - edos2unix adomfaq.txt - dodoc adomfaq.txt manual.doc readme.1st + edos2unix docs/{adomfaq.txt,manual.txt,readme1st.txt} + dodoc docs/{adomfaq.txt,manual.txt,readme1st.txt} prepgamesdirs - fperms g+w "${GAMES_STATEDIR}/${PN}" + fperms g+w "${GAMES_BINDIR}/${PN}" } +