summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 01:41:38 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-04 01:41:38 +0300
commit19f25181a8298bac562f88a4de86d12b53753b08 (patch)
tree59db9ab01f3f0f54bab98ccb67743592a5ce144d /games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild
parentgames-strategy/worms-reloaded: update package (diff)
downloadgamerlay-19f25181a8298bac562f88a4de86d12b53753b08.tar.gz
gamerlay-19f25181a8298bac562f88a4de86d12b53753b08.tar.bz2
gamerlay-19f25181a8298bac562f88a4de86d12b53753b08.zip
games-strategy/swordsandsoldiers: update package
Migrate from deprecated eclass. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild')
-rw-r--r--games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild94
1 files changed, 94 insertions, 0 deletions
diff --git a/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild b/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild
new file mode 100644
index 0000000..c5c3ff3
--- /dev/null
+++ b/games-strategy/swordsandsoldiers/swordsandsoldiers-20120325-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils
+
+DESCRIPTION="A vibrant, side-scrolling strategy game."
+HOMEPAGE="http://www.swordsandsoldiers.com/"
+SRC_URI="
+ x86? ( ${P}-i386.tar.gz )
+ amd64? ( ${P}-amd64.tar.gz )
+"
+RESTRICT="fetch strip"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/json-c
+ media-libs/aalib
+ media-libs/alsa-lib
+ media-libs/flac
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glu
+ media-libs/libogg
+ media-libs/libsdl
+ media-libs/libsndfile
+ media-libs/libvorbis
+ virtual/opengl
+ media-libs/openal
+ media-sound/pulseaudio
+ net-libs/libasyncns
+ sys-apps/attr
+ sys-apps/dbus
+ sys-apps/tcp-wrappers
+ sys-apps/util-linux
+ sys-devel/gcc
+ sys-libs/gdbm
+ sys-libs/glibc
+ sys-libs/gpm
+ sys-libs/libcap
+ sys-libs/ncurses
+ sys-libs/zlib
+ x11-libs/libdrm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libXxf86vm
+"
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( "README.linux" )
+
+pkg_nofetch() {
+ ewarn
+ ewarn "Put ${A} (downloaded from Humble Store) to ${DISTDIR}, please"
+ ewarn
+}
+
+src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+
+ newicon "SwordsAndSoldiers.png" "${PN}.png"
+ newicon "SwordsAndSoldiersSetup.png" "${PN}-setup.png"
+ make_desktop_entry "${PN}" "Swords & Soldiers" "${PN}"
+ make_desktop_entry "${PN}-setup" "Swords & Soldiers (setup)" "${PN}-setup"
+ make_wrapper "${PN}" "./SwordsAndSoldiers.bin" "${dir}"
+ make_wrapper "${PN}-setup" "./SwordsAndSoldiersSetup.bin" "${dir}"
+ exeinto "${dir}"
+ insinto "${dir}"
+ doins -r "Data"
+ doins "SwordsAndSoldiers.png"
+ doins "SwordsAndSoldiersSetup.png"
+ doexe "./SwordsAndSoldiers.bin"
+ doexe "./SwordsAndSoldiersSetup.bin"
+}