summaryrefslogtreecommitdiff
path: root/games-strategy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /games-strategy
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/Manifest.gzbin8066 -> 8066 bytes
-rw-r--r--games-strategy/freeorion/Manifest2
-rw-r--r--games-strategy/freeorion/metadata.xml2
-rw-r--r--games-strategy/openra/Manifest1
-rw-r--r--games-strategy/openra/openra-20190314.ebuild169
-rw-r--r--games-strategy/s25rttr/Manifest1
-rw-r--r--games-strategy/s25rttr/s25rttr-0.9.0_pre20200723.ebuild125
7 files changed, 2 insertions, 298 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz
index 2d5ccd3802da..7fede52a38d8 100644
--- a/games-strategy/Manifest.gz
+++ b/games-strategy/Manifest.gz
Binary files differ
diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest
index b5434a967b19..4cfb3be024fd 100644
--- a/games-strategy/freeorion/Manifest
+++ b/games-strategy/freeorion/Manifest
@@ -2,4 +2,4 @@ AUX freeorion.envd 70 BLAKE2B a893f14754bfb7617f4a250dce8d64ea3de6c0ed3ad51fb62d
DIST freeorion-0.4.10.1.tar.gz 124693099 BLAKE2B d24c481e7be6f718897bb095209673f24cb7d43842f148cf1e8665254970d22449bf7a4ee4ba7a8cb3b5b515d6bed38a24e2862810959a63b29ba9d3c054e6c4 SHA512 b28a8bdc2428778480ff8404ad7d84153939f4f8b4a75f51775354e3e563f7f309d479e499ea1be8b57822d725cc57ece8dd14f2e40360ab6c07d70c917bc256
EBUILD freeorion-0.4.10.1-r1.ebuild 1595 BLAKE2B c723ef7d4efe7f26f1516fc6c6752c8ed96a891934c5b24bfbf910627a0b147654e5acfa12605b837f6e9e04a67915f11320d96a3b3e3c49f93a7ce9d5f6b43a SHA512 457f66ea7edb98b78dfe305177ce8c5e5aec523bb8a0b06b37511d4510df9e9a0ff2fdcbe1f205eb9e62731be6b3ec915801138a44545f9bc4a372eb1d29ed75
EBUILD freeorion-9999.ebuild 1595 BLAKE2B 832543a185b569a5d2934365cf679f6464130f04f85291b09707e61b867601fe6a71415751953d324d09beb71057bdc6530497326bedffb63ad16442d3c1595f SHA512 91aa00149560d25933d1927c7729bae86222f7471021dcad9ebede08cc862a4140f115c6adac966c6607d1c72f94128d2b9ae4a10a6daa7d7f6c1eabf7c0a343
-MISC metadata.xml 684 BLAKE2B 1c415c0258973d2953f7ee0a9ff5811b17cff7000a499e2568c56b09f6c7ca40aedd345c1f377822bb0d30d50638fe76eb1e12da19da0a86b76bba9919633199 SHA512 e569a1bb722ad194a47292a6c67670fef05f5f1ac390245c81140e8fcc57f2699eec4e8037e3cae31d46d7e62eac8504d69971dc7db76226f2a31f85bb531bb1
+MISC metadata.xml 684 BLAKE2B a35a60f214e503d3338a2207ba7657734fe1dfdfb31b66af255148f0ac8ad83e4a2c70c5e8bed10f8e7cef22456d05b3def6ba1b48621cd0bdf2ab05faba68a2 SHA512 c672ca681068ddb098a09c2cdeea572b207cf7612008c909914b224c613e9152b2741533bf25d87c0d3fd0dc2fcb4817dea20bd132075f23b0482ec77f0bf18c
diff --git a/games-strategy/freeorion/metadata.xml b/games-strategy/freeorion/metadata.xml
index ccd88c4f149a..e395c18a3b18 100644
--- a/games-strategy/freeorion/metadata.xml
+++ b/games-strategy/freeorion/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>NP-Hardass@gentoo.org</email>
+ <email>np-hardass@gentoo.org</email>
<name>NP-hardass</name>
</maintainer>
<longdescription lang="en">
diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest
index 2f9dc1032298..751ce52fc116 100644
--- a/games-strategy/openra/Manifest
+++ b/games-strategy/openra/Manifest
@@ -12,5 +12,4 @@ DIST SharpZipLib-0.86.0.zip 463599 BLAKE2B 5d6374c5daef33afc1faf814992df1ef7001b
DIST openra-20190314.tar.gz 24551126 BLAKE2B ed6289bbfab9f55aa88ac834dab3a2bab4cea3cb5a3b6934e24feb78bea1df71d839d4434242df666cda6180027a8e6d5b7766b6155ab2e85a4ee639a7950e12 SHA512 a16884cf626a31b3cf21662c307aef505bfcf6d34330f09b10510aa6c88d9d1026f17f2037565827fc95148776b0651fe0559c65db493295957df428793b2d71
DIST rix0rrr.BeaconLib-1.0.1.zip 17989 BLAKE2B 2a65c9276b725ac6c433eb2cf6e4a13d6e5c07446dbff1e096b100a20eebb2a432c81cfbc13c11fdf672fbd37eb5985497b3fa425a317afe39049a6a967e3a7e SHA512 4fe4c6dfd7ad0f7eb5549c66fe53cd38f74026a8202d3553481bdfdab8ce0788f8b31f05092d93f9751a687badf75a1ec22da201235f2e505893192bb371367f
EBUILD openra-20190314-r100.ebuild 5055 BLAKE2B 772c610a2432159ac3bff97bb74a577b543f0b49cad12572c588363fb531462ed702108baf9199d320fd75cca0dfe63c316c8ce36f2b59edca7f77e5cf96ee9e SHA512 301b69fa0f05373b8ea1e3180e403d038332962dd66aed84123e9095742198100651083d039b86ee855a224bcc1e488fba157e32a8707b9f92c801f6954a5c3f
-EBUILD openra-20190314.ebuild 4955 BLAKE2B b589837560638ead51cd6eb525b480471bb3e7fe452aba3eeb4d5db09c90a2aa503f39e0c57c018d2ec575de7a3243328fdbfc9bd3d0c86760fe52f90a16761d SHA512 db49ddce14d00a9b3649b2bc5b14e1c89a98d769f2aafd93d2f1052893f70584cc7236b663b8b814cfbbbdae565ecdb628ee242e18d1ade17bb7d47f21c81da0
MISC metadata.xml 507 BLAKE2B 41509ed4d51adffd4aaf548f986ff19ccdf2b382e6265eeca268ccf693fcbf47468fad4ba1fcafb73f2a7fd5893942944f4118ca3b388a2b9299fd9130621d5e SHA512 ffeb53c6a7368c79336656bee82ea41fcdec13ef68f22e70a2ef70b5ba644ae1ad3832406cf54c7afd888ebe3357d2530528f39b07d515b813cf090248fa5186
diff --git a/games-strategy/openra/openra-20190314.ebuild b/games-strategy/openra/openra-20190314.ebuild
deleted file mode 100644
index 89952527033d..000000000000
--- a/games-strategy/openra/openra-20190314.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit mono-env xdg-utils
-
-MY_PV=release-${PV}
-#MY_PV=playtest-${PV}
-
-DESCRIPTION="A free RTS engine supporting games like Command & Conquer, Red Alert and Dune2k"
-HOMEPAGE="https://www.openra.net/"
-
-# This sed one-liner was used to generate the SRC_URI list
-# below. Ideally we would package these DLLs separately instead but
-# Gentoo Dotnet doesn't seem to be in great shape right now.
-#
-# sed -n -r -e 's@.*curl.*(https:[^ ]+/([^/]+)/([^.]+)([^ ]+)).*@\1 -> \3-\2\4@p' \
-# -e 's@.*noget\.sh ([^ ]+) ([^ ]+).*@https://www.nuget.org/api/v2/package/\1/\2 -> \1-\2.zip@p' \
-# "${S}"/thirdparty/fetch-thirdparty-deps.sh | grep -v 'NUnit\|StyleCop' | sort
-
-SRC_URI="https://github.com/OpenRA/OpenRA/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/OpenRA/Eluant/releases/download/20160124/Eluant.dll -> Eluant-20160124.dll
- https://github.com/OpenRA/OpenAL-CS/releases/download/20151227/OpenAL-CS.dll.config -> OpenAL-CS-20151227.dll.config
- https://github.com/OpenRA/OpenAL-CS/releases/download/20151227/OpenAL-CS.dll -> OpenAL-CS-20151227.dll
- https://github.com/OpenRA/SDL2-CS/releases/download/20161223/SDL2-CS.dll.config -> SDL2-CS-20161223.dll.config
- https://github.com/OpenRA/SDL2-CS/releases/download/20161223/SDL2-CS.dll -> SDL2-CS-20161223.dll
- https://www.nuget.org/api/v2/package/FuzzyLogicLibrary/1.2.0 -> FuzzyLogicLibrary-1.2.0.zip
- https://www.nuget.org/api/v2/package/MaxMind.Db/2.0.0 -> MaxMind.Db-2.0.0.zip
- https://www.nuget.org/api/v2/package/Open.Nat/2.1.0 -> Open.Nat-2.1.0.zip
- https://www.nuget.org/api/v2/package/rix0rrr.BeaconLib/1.0.1 -> rix0rrr.BeaconLib-1.0.1.zip
- https://www.nuget.org/api/v2/package/SharpFont/4.0.1 -> SharpFont-4.0.1.zip
- https://www.nuget.org/api/v2/package/SharpZipLib/0.86.0 -> SharpZipLib-0.86.0.zip"
-
-# Engine is GPL-3, dependent DLLs are mixed.
-LICENSE="GPL-3 Apache-2.0 BSD GPL-2 MIT"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+debug geoip"
-RESTRICT="mirror test"
-
-MONO_DEP=">=dev-lang/mono-4.2"
-BDEPEND="
- app-arch/unzip
- ${MONO_DEP}
-"
-DEPEND="
- >=dev-lang/mono-4.2
- dev-dotnet/libgdiplus
- ${MONO_DEP}
-"
-RDEPEND="${DEPEND}
- app-misc/ca-certificates
- =dev-lang/lua-5.1*:0
- media-libs/freetype:2
- media-libs/libsdl2[opengl,video]
- media-libs/openal
- geoip? ( net-misc/geoipupdate )"
-
-S="${WORKDIR}/OpenRA-${MY_PV}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-system-geoip.patch
-)
-
-DOCS=(
- AUTHORS
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- README.md
-)
-
-src_unpack() {
- local DOWNLOADS="${S}"/thirdparty/download
- mkdir -p "${DOWNLOADS}" || die
-
- # Stub out unnecessary development dependencies.
- touch "${DOWNLOADS}"/{{nunit.framework,StyleCop{,Plus}}.dll,nunit3-console.exe} || die
-
- for a in ${A}; do
- case ${a} in
- # Unpack engine sources.
- ${P}.tar.gz) unpack ${a} ;;
-
- # Symlink other downloads, Makefile will extract and copy.
- *) ln -snf "${DISTDIR}/${a}" "${DOWNLOADS}/${a%-[0-9]*}${a##*[0-9]}" || die ;;
- esac
- done
-}
-
-src_prepare() {
- # Stub out attempts to download anything.
- sed -i -r 's/^\s*(curl|wget)\b/: #\1/' thirdparty/{fetch-thirdparty-deps,noget}.sh || die
-
- # Extract what is needed from the downloads.
- emake cli-dependencies
-
- default
-}
-
-src_compile() {
- emake $(usex debug "" DEBUG=false)
- emake VERSION=${MY_PV} version man-page
-}
-
-src_install() {
- emake $(usex debug "" DEBUG=false) \
- prefix="${EPREFIX}"/usr \
- gameinstalldir='$(prefix)'/share/${PN} \
- DESTDIR="${D}" \
- VERSION=${MY_PV} \
- install \
- install-linux-mime \
- install-linux-shortcuts \
- install-man-page
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-
- if [[ ! -s ${EROOT}/usr/share/GeoIP/GeoLite2-Country.mmdb ]]; then
- echo
- ewarn "Multiplayer server locations will show as unknown until you install"
-
- if use geoip; then
- ewarn "a GeoIP database. Run emerge --config ${CATEGORY}/${PN}"
- ewarn "occasionally to fetch one and keep it current."
- else
- ewarn "a GeoIP database. Start by enabling the geoip USE flag."
- fi
- fi
-
- if [[ ! -d ${EROOT}/usr/share/.mono/certs ]]; then
- echo
- ewarn "The multiplayer server listing will not work at all until you install"
- ewarn "CA certificates using Mono's cert-sync. Run emerge --config"
- ewarn "${CATEGORY}/${PN} occasionally to set them up and keep them"
- ewarn "current."
- fi
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
-pkg_config() {
- if use geoip; then
- ebegin "Updating GeoIP database"
- geoipupdate -d "${EROOT}"/usr/share/GeoIP
- eend $?
- fi
-
- ebegin "Updating Mono CA certificates"
- cert-sync --quiet "${EROOT}"/etc/ssl/certs/ca-certificates.crt
- eend $?
-
- if [[ -n ${ROOT} ]]; then
- echo
- ewarn "Mono's cert-sync cannot write to your ROOT system so you must manually"
- ewarn "copy the certificates from ${BROOT}/usr/share/.mono to ${EROOT}/usr/share/.mono."
- fi
-}
diff --git a/games-strategy/s25rttr/Manifest b/games-strategy/s25rttr/Manifest
index 9dbef127137e..caae5423f7f5 100644
--- a/games-strategy/s25rttr/Manifest
+++ b/games-strategy/s25rttr/Manifest
@@ -11,5 +11,4 @@ DIST s25rttr-s25edit-677e4b39eaa7f6ecb701e7b50637a0f05fc691db.tar.gz 198489 BLAK
DIST s25rttr-s25maps-5efbd103b19335828cab6e757224e87456c4a1e4.tar.gz 8013451 BLAKE2B 042ab804f4ec9babf7c975629fa3bd6856fb1fa4de0c4715420bca7e0f2dd72cc0909134750ba70c69344985bdd7a3a74576536cee80d6dfaf688c8cf82da8c0 SHA512 3339ced1fcca0fc9a37382d23c3c43f46c5e51d4c14b2657a79cd15dbd79ba8025bf8133dbbe45eb125b5c88370c90422faf21b65d95f471af3bb43de54a3210
DIST s25rttr-turtle-9dcdcf9061b929a03f188531ea5cbd530b6234ab.tar.gz 98611 BLAKE2B 6187ab3109f1c9c20524752920e7b9f0e1de2c882bb09ce8c4d2d29899fbaf8a0e2627afc475f6c1527428d77e9a7a7c7332136ba5a79e33cad9c570fbc19042 SHA512 ba85c03cb3e857c501fcec0223ccb7dfccb99a961dd6594820640e133523f14275e764e196197ead05b739f490003b412e16ca2d0fcae8263ef4c256d252570a
EBUILD s25rttr-0.9.0_pre20200723-r100.ebuild 4749 BLAKE2B d9bc594b531fdb741d23b5bc033f6265d6051ac0e2d602231dbe4df369175a7d6fb697a1b2d5fe040f392b1dc58e35a8a426986afcac3d227fc3c2106d61b0af SHA512 f4418551f7e2f3963f73432b3f3d38cdb3418dfac17ce8b7e89a8ed0f549da0ab64f3a740c75224defc55a6ceb8bba52ecd3e2135addb323626d12e98d4a37ea
-EBUILD s25rttr-0.9.0_pre20200723.ebuild 4574 BLAKE2B e14c0ee7521e77e240e23796f0c9491175fd3117cba843acdc8050241eb6a8fc8a0d5e11aec1582aa1fd7cc5b433aa3caed6ee2d822dd3cf5c3039549bd9bc3a SHA512 69289d2ed4a0af9703c965e7798637c1437f996f0e9425b47de384dfcc2464bd91986d67686c509ab2ed198831d081c87063277877038f235733df58dd236680
MISC metadata.xml 347 BLAKE2B ca0f64b6265a6a9297cd7fb42b007f8d822298f52630bcc6b25bbcdf3854514ea865d3f8407f0754b66a720028b5059962af993c889707fdda4419d445e8d4f1 SHA512 d2602cf6ae2637800c4b1d6448cf557998311ee0e24ac621c221d99fd21ae3bbd4a08963d8185d2afa6c1a63c2cf94f95bd893b7fbe01e9c777266850747ee62
diff --git a/games-strategy/s25rttr/s25rttr-0.9.0_pre20200723.ebuild b/games-strategy/s25rttr/s25rttr-0.9.0_pre20200723.ebuild
deleted file mode 100644
index 11d885fb4840..000000000000
--- a/games-strategy/s25rttr/s25rttr-0.9.0_pre20200723.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop flag-o-matic toolchain-funcs xdg cmake
-
-DESCRIPTION="Open source remake of The Settlers II: Gold Edition (needs original data files)"
-HOMEPAGE="https://www.siedler25.org/"
-
-# To generate from git repo:
-# echo -e "COMMIT=\"$(git rev-parse HEAD)\"\nSRC_URI=\"\n\thttps://github.com/Return-To-The-Roots/s25client/archive/\${COMMIT}.tar.gz -> s25client-\${COMMIT}.tar.gz" && git submodule --quiet foreach --recursive 'url=$(git remote get-url origin); gh=${url#*github.com[:/]}; gh=${gh%.git}; echo -e "\thttps://github.com/${gh}/archive/${sha1}.tar.gz -> \${PN}-${gh##*/}-${sha1}.tar.gz"' | egrep -v "/(dev-tools|libsamplerate|s25update)/" | sort && echo '"'
-COMMIT="f0b97b120140c96bbeacae9c22633f899931db69"
-SRC_URI="
- https://github.com/Return-To-The-Roots/s25client/archive/${COMMIT}.tar.gz -> s25client-${COMMIT}.tar.gz
- https://github.com/mat007/turtle/archive/9dcdcf9061b929a03f188531ea5cbd530b6234ab.tar.gz -> ${PN}-turtle-9dcdcf9061b929a03f188531ea5cbd530b6234ab.tar.gz
- https://github.com/Return-To-The-Roots/languages/archive/6906b7ce9cb64242ba406eda34a404fa8eb1e33d.tar.gz -> ${PN}-languages-6906b7ce9cb64242ba406eda34a404fa8eb1e33d.tar.gz
- https://github.com/Return-To-The-Roots/libendian/archive/dd2c11498f679247530b6b7cf7bd5964f539ddfd.tar.gz -> ${PN}-libendian-dd2c11498f679247530b6b7cf7bd5964f539ddfd.tar.gz
- https://github.com/Return-To-The-Roots/liblobby/archive/9275cbfa2303cc8235e96f275829be0d84efd3a4.tar.gz -> ${PN}-liblobby-9275cbfa2303cc8235e96f275829be0d84efd3a4.tar.gz
- https://github.com/Return-To-The-Roots/libsiedler2/archive/5cb9993a32504337c63fd894266991445e0dcd65.tar.gz -> ${PN}-libsiedler2-5cb9993a32504337c63fd894266991445e0dcd65.tar.gz
- https://github.com/Return-To-The-Roots/libutil/archive/6c2ee0fa897541ea766533e03ebd53344908cf16.tar.gz -> ${PN}-libutil-6c2ee0fa897541ea766533e03ebd53344908cf16.tar.gz
- https://github.com/Return-To-The-Roots/mygettext/archive/b2fc5db651542a7fcc069223904f7debc27ec235.tar.gz -> ${PN}-mygettext-b2fc5db651542a7fcc069223904f7debc27ec235.tar.gz
- https://github.com/Return-To-The-Roots/s25edit/archive/677e4b39eaa7f6ecb701e7b50637a0f05fc691db.tar.gz -> ${PN}-s25edit-677e4b39eaa7f6ecb701e7b50637a0f05fc691db.tar.gz
- https://github.com/Return-To-The-Roots/s25maps/archive/5efbd103b19335828cab6e757224e87456c4a1e4.tar.gz -> ${PN}-s25maps-5efbd103b19335828cab6e757224e87456c4a1e4.tar.gz
- https://github.com/satoren/kaguya/archive/38ca7e1d894c138e454bbe5c89048bdd5091545a.tar.gz -> ${PN}-kaguya-38ca7e1d894c138e454bbe5c89048bdd5091545a.tar.gz
-"
-
-LICENSE="GPL-2+ GPL-3 Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-arch/bzip2
- >=dev-lang/lua-5.1:0=
- >=dev-libs/boost-1.73:0=[nls]
- >=media-libs/libsamplerate-0.1.9
- >=media-libs/libsdl2-2.0.10-r2[opengl,sound,video]
- media-libs/libsndfile
- media-libs/sdl2-mixer[vorbis,wav]
- net-libs/miniupnpc
- virtual/opengl
-"
-
-DEPEND="
- ${RDEPEND}
- test? ( >=sys-devel/clang-5 )
-"
-
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/s25client-${COMMIT}"
-
-# Build type is checked but blank is valid.
-CMAKE_BUILD_TYPE=
-
-src_unpack() {
- default
-
- local SRC DST
- for SRC in */; do
- case "${SRC}" in
- s25client-*)
- continue ;;
- s25maps-*)
- DST=data/RTTR/MAPS ;;
- *)
- DST=${SRC%-*}
- DST=external/${DST,,} ;;
- esac
-
- rmdir "${S}/${DST}" || die
- mv "${SRC}" "${S}/${DST}" || die
- done
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- -DCCACHE_PROGRAM=OFF
- -DCMAKE_SKIP_RPATH=ON
- -DRTTR_BUILD_UPDATER=OFF
- -DRTTR_ENABLE_OPTIMIZATIONS=OFF
- -DRTTR_ENABLE_SANITIZERS=$(usex test)
- -DRTTR_INCLUDE_DEVTOOLS=OFF
- -DRTTR_LIBDIR="$(get_libdir)/${PN}"
- -DRTTR_REVISION="${COMMIT}"
- -DRTTR_USE_SYSTEM_LIBSAMPLERATE=ON
- -DRTTR_VERSION="${PV##*_pre}" # Tests expect a date.
- )
-
- if use test && tc-is-gcc; then
- # Work around libasan and libsandbox both wanting to be first.
- append-ldflags -static-libasan
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- SDL_AUDIODRIVER=dummy \
- SDL_VIDEODRIVER=dummy \
- cmake_src_test
-}
-
-src_install() {
- cmake_src_install
-
- doicon -s 64 tools/release/debian/s25rttr.png
- make_desktop_entry s25client "Return to the Roots"
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if ! has_version -r games-strategy/settlers-2-gold-data; then
- elog "Install games-strategy/settlers-2-gold-data or manually copy the DATA"
- elog "and GFX directories from original data files into"
- elog "${EPREFIX}/usr/share/${PN}/S2."
- fi
-}