Skip to content

Commit

Permalink
games-arcade/ascii-invaders: Stop using games.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.28, Repoman-2.3.9
  • Loading branch information
pacho2 committed Apr 15, 2018
1 parent 42fb1ca commit 8a0f15c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Space invaders clone, using ncurses library"
HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders"
SRC_URI="mirror://gentoo/invaders${PV}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc64 ~x86 ~x86-fbsd ~ppc-macos"
IUSE=""

RDEPEND="sys-libs/ncurses:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"

S="${WORKDIR}/invaders"

src_prepare() {
default
rm -f Makefile
}

src_compile() {
emake LDLIBS="$(pkg-config ncurses --libs)" invaders
}

src_install() {
newbin invaders ${PN}
einstalldocs
}

0 comments on commit 8a0f15c

Please sign in to comment.