You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
|
|
||
7 years ago
|
inherit autotools desktop
|
||
13 years ago
|
|
||
7 years ago
|
DESCRIPTION="3D Pacman clone with a few surprises. Rockets, bombs and explosions abound"
|
||
13 years ago
|
HOMEPAGE="http://pacmanarena.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/pacman-arena-${PV}.tar.bz2
|
||
|
mirror://sourceforge/${PN}/pacman-data-0.0.zip"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~alpha ~amd64 ~x86"
|
||
13 years ago
|
|
||
7 years ago
|
RDEPEND="
|
||
10 years ago
|
media-libs/libsdl[sound]
|
||
13 years ago
|
media-libs/sdl-mixer[vorbis]
|
||
7 years ago
|
media-libs/sdl-net
|
||
4 years ago
|
virtual/glu
|
||
|
virtual/opengl
|
||
7 years ago
|
"
|
||
4 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="app-arch/unzip"
|
||
13 years ago
|
|
||
7 years ago
|
S="${WORKDIR}/pacman"
|
||
13 years ago
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-underlink.patch
|
||
|
"${FILESDIR}"/${P}-fnocommon.patch
|
||
|
)
|
||
|
|
||
13 years ago
|
src_unpack() {
|
||
|
unpack pacman-arena-${PV}.tar.bz2
|
||
|
cd "${S}"
|
||
|
unpack pacman-data-0.0.zip
|
||
|
}
|
||
|
|
||
|
src_prepare() {
|
||
7 years ago
|
default
|
||
13 years ago
|
sed -i \
|
||
|
-e "/^CFLAGS/ s:pacman:${PN}:" \
|
||
|
-e '1i CC=@CC@' \
|
||
10 years ago
|
Makefile.in || die
|
||
13 years ago
|
sed -i \
|
||
|
-e '/CFLAGS/s:-g::' \
|
||
4 years ago
|
configure.ac || die
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
7 years ago
|
newbin pacman ${PN}
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r gfx sfx
|
||
13 years ago
|
newicon gfx/pacman_arena1.tga ${PN}.tga
|
||
|
make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga
|
||
7 years ago
|
einstalldocs
|
||
13 years ago
|
}
|