summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hicks <david@hicks.id.au>2017-07-28 21:56:13 +1000
committerDavid Seifert <soap@gentoo.org>2017-07-30 11:53:59 +0200
commitc74ba037a9433072a4f10235b4e6084c0c4426f0 (patch)
tree5d94d28019d0420be648b66e0350503339927f5e /games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
parentnet-dns/knot: remove old ebuild (diff)
downloadgentoo-c74ba037a9433072a4f10235b4e6084c0c4426f0.tar.gz
gentoo-c74ba037a9433072a4f10235b4e6084c0c4426f0.tar.bz2
gentoo-c74ba037a9433072a4f10235b4e6084c0c4426f0.zip
games-strategy/seven-kingdoms: bump to version 2.14.7
Changes made: * Download source from new official GitHub repository * Prefer https for official webpage * Use EAPI=6 * Remove src_prepare as the default in EAPI 6 now includes user patches * Add new curl dependency (required for full multi-player ability) * Remove deprecated games eclass dependency and use of functions * Update the data directory to /usr/share/ * --without-wine is not required as this is the default * --disable-debug is not required as this is the default * No need to specify DOCS as README will be picked up automatically * Remove package exclusion games-strategy/seven-kingdoms-data as this package is no longer in the tree Gentoo-Bug: 626426 Package-Manager: Portage-2.3.6, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5233
Diffstat (limited to 'games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild')
-rw-r--r--games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
new file mode 100644
index 00000000000..012fe8f1bc6
--- /dev/null
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+MY_PN="7kaa"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries"
+HOMEPAGE="https://7kfans.com/"
+SRC_URI="https://github.com/the3dfxdude/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
+ https://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="net-libs/enet:1.3=
+ media-libs/libsdl2[X,video]
+ media-libs/openal
+ net-misc/curl"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${MY_P}.tar.xz
+}
+
+src_install() {
+ default
+
+ doicon "${DISTDIR}/${MY_PN}.png"
+ make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" "${MY_PN}" "Game;StrategyGame"
+}