Skip to content

Commit

Permalink
games-action/abuse: remove deprecated games eclass
Browse files Browse the repository at this point in the history
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28
  • Loading branch information
austin987 committed Jul 5, 2016
1 parent 714cc57 commit be9278b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions games-action/abuse/abuse-0.8-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
inherit autotools

DESCRIPTION="Port of Abuse by Crack Dot Com"
HOMEPAGE="http://abuse.zoy.org/"
SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"

LICENSE="GPL-2 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=media-libs/libsdl-1.1.6[sound,opengl,video]
media-libs/sdl-mixer
virtual/opengl"
RDEPEND="${DEPEND}"

PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
)

src_prepare() {
default
eautoreconf
}

src_install() {
# Source-based install
default

doicon doc/${PN}.png
make_desktop_entry abuse Abuse
}

pkg_postinst() {
elog "NOTE: If you had previous version of abuse installed"
elog "you may need to remove ~/.abuse for the game to work correctly."
}

0 comments on commit be9278b

Please sign in to comment.