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.
66 lines
1.4 KiB
66 lines
1.4 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
4 years ago
|
inherit desktop unpacker wrapper
|
||
|
|
||
|
DIST_PV=$(ver_cut 2-)
|
||
10 years ago
|
|
||
|
DESCRIPTION="human survivors who battle against the ongoing alien onslaught"
|
||
|
HOMEPAGE="http://shadowgroundsgame.com/survivor/"
|
||
6 years ago
|
SRC_URI="survivorUpdate${DIST_PV/p/}.run"
|
||
4 years ago
|
S="${WORKDIR}"
|
||
10 years ago
|
|
||
|
LICENSE="frozenbyte-eula"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="-* ~amd64 ~x86"
|
||
|
RESTRICT="fetch strip"
|
||
|
|
||
4 years ago
|
RDEPEND="
|
||
10 years ago
|
>=sys-devel/gcc-4.3.0
|
||
4 years ago
|
>=sys-libs/glibc-2.4
|
||
10 years ago
|
!amd64? (
|
||
|
gnome-base/libglade
|
||
|
)
|
||
|
amd64? (
|
||
9 years ago
|
>=gnome-base/libglade-2.6.4-r1[abi_x86_32(-)]
|
||
4 years ago
|
)
|
||
|
"
|
||
|
BDEPEND="app-arch/unzip"
|
||
10 years ago
|
|
||
4 years ago
|
d="opt/${PN}"
|
||
10 years ago
|
QA_TEXTRELS_x86="`echo ${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`"
|
||
|
QA_TEXTRELS_amd64=${QA_TEXTRELS_x86}
|
||
|
|
||
|
pkg_nofetch() {
|
||
6 years ago
|
einfo "Fetch ${SRC_URI} and put it into your DISTDIR directory."
|
||
10 years ago
|
einfo "See http://www.humblebundle.com/ for more info."
|
||
|
}
|
||
|
|
||
|
src_unpack() {
|
||
4 years ago
|
# Manually run unzip as the initial seek causes it to exit(1)
|
||
10 years ago
|
unpack_zip ${A}
|
||
4 years ago
|
rm lib*/lib{gcc_s,m,rt,selinux}.so.? || die
|
||
10 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
local b bb
|
||
|
|
||
|
doicon Survivor.xpm || die
|
||
|
for b in bin launcher ; do
|
||
|
bb="survivor-${b}"
|
||
|
exeinto ${d}
|
||
|
newexe ${bb} ${bb}
|
||
4 years ago
|
|
||
|
make_wrapper ${bb} "./${bb}" "${d}"
|
||
10 years ago
|
make_desktop_entry ${bb} "Shadowgrounds Survivor ${b}" "Shadowgrounds Survivor"
|
||
|
done
|
||
|
|
||
|
exeinto ${d}/lib32
|
||
|
doexe lib32/*
|
||
|
|
||
|
insinto ${d}
|
||
|
doins -r Config data Profiles *.fbz *.glade *-logo.png
|
||
|
}
|