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.
51 lines
1.1 KiB
51 lines
1.1 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
10 years ago
|
|
||
3 years ago
|
EAPI=7
|
||
|
|
||
|
inherit autotools desktop
|
||
13 years ago
|
|
||
|
DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy"
|
||
|
HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en"
|
||
|
# Upstream doesn't version their releases.
|
||
|
# (should be downloaded and re-compressed with tar -jcvf)
|
||
|
#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz"
|
||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||
3 years ago
|
S="${WORKDIR}"/Pachi
|
||
13 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
|
||
3 years ago
|
DEPEND="
|
||
|
media-libs/libsdl[joystick,sound,video]
|
||
|
media-libs/sdl-mixer[mod]
|
||
|
"
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
acct-group/gamestat
|
||
|
"
|
||
10 years ago
|
|
||
3 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PV}-autotools.patch
|
||
|
)
|
||
13 years ago
|
|
||
10 years ago
|
src_prepare() {
|
||
3 years ago
|
default
|
||
|
|
||
|
rm -f missing || die
|
||
10 years ago
|
mv configure.in configure.ac || die
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
10 years ago
|
default
|
||
3 years ago
|
|
||
13 years ago
|
newicon Tgfx/icon.bmp ${PN}.bmp
|
||
|
make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp
|
||
3 years ago
|
|
||
3 years ago
|
fowners root:gamestat /var/lib/${PN}/data/scores.dat /usr/bin/${PN}
|
||
3 years ago
|
fperms 660 /var/lib/${PN}/data/scores.dat
|
||
|
fperms g+s /usr/bin/${PN}
|
||
13 years ago
|
}
|