summaryrefslogtreecommitdiff
path: root/games-rpg/eternal-lands
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/eternal-lands')
-rw-r--r--games-rpg/eternal-lands/Manifest4
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.9.2-r1.ebuild153
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.9.2.ebuild149
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.9.3.ebuild153
4 files changed, 0 insertions, 459 deletions
diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest
index 3a826429ad43..2caf1e0ffdad 100644
--- a/games-rpg/eternal-lands/Manifest
+++ b/games-rpg/eternal-lands/Manifest
@@ -3,11 +3,7 @@ AUX eternal-lands-1.9.2-glext.patch 296 BLAKE2B dcbd57926cd1d21ddfa526917e3d7dc2
AUX eternal-lands-1.9.3-build.patch 16222 BLAKE2B c7da08215575f6a39fd586842f6a872706356f8c203abdb8865de325651d5e9e9e2976da5720cbe05144cc49bf9908667ce910b09bbc32e8a32e6ec82bd2b287 SHA512 b268c0f1dab0f86bfcea3d13122983c4efdbf9941d1851618a01986b2fc36139350e830c6838c229f7ffbb69fd51a46d06277eb43167a47e192b86db710dcfc7
AUX eternal-lands-1.9.3-glbuild.patch 581 BLAKE2B 448e86a18de71390225c4bacb5d824da63db9c0213629c618856de0634d7b9fca97c22558031d79c2a7f69c273b7e68d02fde04c82d2d42b339227ebd7e5b35c SHA512 583b306f98975e8d86314519cfd0034870d07a2d908de9ac2fae9eba50ce90acc7f8949fbe40379a13308ebfdf33379f5801ccfe83d67c318b8edc3ddc0a9ed5
AUX eternal-lands-1.9.3-minizip.patch 2142 BLAKE2B 6b3e12d4cfe47f5e808c7218b72f1f3ce571cacc5e916951068f1e589d8f00056add853d0d45ad72d060cd787f25c0d5f839359c39dbffc29ebfe7ef1a92c759 SHA512 2a560c99504a649de7d01d08bb4d92cdd803e6c91b2ef2d1e82449268e8248b468fb8bb855e8e73396e8d4e5e2def44bda9df07f654b730bb25b509550d0f826
-DIST elc_1.9.2-20110618.tar.bz2 2164208 BLAKE2B 5a52240bc4d6ace33a775357586afd9f0ac2d99e6b1b84cb90f8c09a0b45f3df03bfb68abfd69746f73d752717a04b3e6d2cd8c91d0d727e3dbdeafbec8b581d SHA512 8ce7465fbe40dbc20efff07578d9abea9711fc134302880368568f1057d32f506c478ee66c63953ea5ed5eabd7ef6afda55524dcf521facc9cd368dbc0273a79
DIST elc_1.9.3-20120213.tar.bz2 2401172 BLAKE2B 496315a0d09d0b7cb99a77c77965d3d85a675659ae1970dc2c7c7560146b165a48a35f6dfd7eb461d4347ee2023df91ba47c05120957f52f777ea530e868b8d9 SHA512 3580d3ceb94094443ef25f6e4880c9ffe3fff256c8d8e6657b4e0683a05184da9e6a76264557d2065a8187e3d36febd9d30ff5adff83a17607b1e478be90fabc
DIST eternal-lands.png 9955 BLAKE2B 376f6826bab88e798c39d79f00bd8c8758798b70beb980d44bfcdf0c4afb696ea15f58177267ddf189ce53ef6c2c33efdcf507f5135ccc000b56ca28de078f80 SHA512 c77571c949bb43fa7f95ae58f863ed972cfc76e184de5d0fa0a3599e4f7539f6334b843233b61fc807c90ef270d87cd57494510ce559427b592d255c198729bf
-EBUILD eternal-lands-1.9.2-r1.ebuild 4055 BLAKE2B a219de277533cf3b553672fba19ff671070d272842cf03acb244f706343ff188e376851aeca0e63b9e234fecc35bd885be15533f2d203b146118986753201f21 SHA512 65977c49f4d113be4ef4f0389ba4e3605f0c72a229a4ee03e7e66a6d0322029dc9e1591cb7e92e22e16c0ce85df8c8b52930874c264ea9de6336cd0aaf09e0ec
-EBUILD eternal-lands-1.9.2.ebuild 3952 BLAKE2B 6dcca9641a62cb254240b9efcd58f4fd9652349eacd0751c4c29bd4bb913c09bfa5ad331f3b7912afdb5d45fb899f3b856dcfc1b68d7d813488ecb7e54033926 SHA512 1813a39956d13c65b07c3cb77022bea73b47dfb9767cca63fbf0e6c6f147395ceb90fc231bd3bb9efffdef25a05094917104e647f3d6179e3be50160fabdf78f
EBUILD eternal-lands-1.9.3-r2.ebuild 2853 BLAKE2B 4431c51b3390d8b9bbe525d3c5a246ba3ca87a35e1a1d0fd0c54a83e81dd535062d693bd34b526e86502499d14a91a44ec9f302ed4d2e1e278a5ac4c5c30eb49 SHA512 d67cbfb1b521709f783ddb4429de88500efe327c89cf1a9c37043efa8a86fa28877621c158cd867a600b9b7e93818fc5b78aefa3cb967cb631d76321ec37bfcf
-EBUILD eternal-lands-1.9.3.ebuild 4031 BLAKE2B 05ae64af49e469ac9e1d176b64d925c52fef46472735d94dfaac38d83ab5331115ab092dd2afa453bf0788189f3f1c9f0cfb0cd0769e24470479432fb9213ee2 SHA512 ae59954a4c34092f7991bfa0e865d3f43a75934fbef70f569561f40307dd6a23fa99b57f95e99d2ef86a1629cd1777cbe4f5e2d93c8409126dd471117470f5a1
MISC metadata.xml 482 BLAKE2B c0d2df678bcef1eb71b0a5f8824c90cd8d0f0b2fe5edf05db77e37d916b9a313dad3cdcbb64b08f793aef403dd6b79023a83584ce79073f7428a553da787e1dd SHA512 cb16ba8f0737fc26263d31d90e70d7468df8cb3fb09f7777f8c59b198f0f47d2139d5fc81597f7c63bff1afa242b60ab009f645c9269092ddc40dad2f2c62e1f
diff --git a/games-rpg/eternal-lands/eternal-lands-1.9.2-r1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.9.2-r1.ebuild
deleted file mode 100644
index 70023bc26074..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.9.2-r1.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic games
-
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="https://dev.gentoo.org/~rich0/distfiles/elc_1.9.2-20110618.tar.bz2
- https://dev.gentoo.org/~rich0/distfiles/eternal-lands.png"
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="debug doc kernel_linux"
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- virtual/opengl
- virtual/glu
- media-libs/libsdl[X]
- media-libs/sdl-net
- media-libs/sdl-image
- media-libs/openal
- media-libs/freealut
- media-libs/libvorbis
- dev-libs/libxml2
- media-libs/cal3d[-16bit-indices]
- media-libs/libpng
- >=games-rpg/eternal-lands-data-1.9.2"
-
-DEPEND="${RDEPEND}
- >=app-eselect/eselect-opengl-1.0.6-r1
- app-arch/unzip
- doc? ( app-doc/doxygen
- media-gfx/graphviz )"
-
-#ECVS_SERVER="cvs.elc.berlios.de:/cvsroot/elc"
-#ECVS_MODULE="elc"
-#ECVS_USER="anonymous"
-#ECVS_LOCALNAME="elc"
-#ECVS_PASS=""
-#ECVS_CVS_OPTIONS="-dP -z3"
-#ECVS_BRANCH="elc_1_8_0"
-
-#S="${WORKDIR}/${ECVS_MODULE}"
-S="${WORKDIR}/elc"
-
-src_unpack() {
-# cvs_src_unpack
- OPTIONS="-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="firefox"
- unpack ${A}
- cd "${S}"
-}
-
-src_prepare() {
- # Add debugging options
- if use debug ; then
- OPTIONS="${OPTIONS} -DMEMORY_DEBUG"
- append-flags -ggdb
- fi
-
- # Clean compile flags (make Gentoo friendly)
- sed -i \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O0 -ggdb -pipe@CFLAGS = ${CFLAGS} ${OPTIONS} @g" \
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O0 -ggdb -pipe@CXXFLAGS = ${CXXFLAGS} ${OPTIONS} @g" \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux || die "sed failed"
-
- sed -i \
- -e 's/#browser/browser/g' \
- -e "s/browser = mozilla/#browser = ${BROWSER}/g" \
- -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
- el.ini || die "sed failed"
-
- # Support BSD in the Linux makefile - it's easier
- use kernel_linux || sed -i \
- -e 's/^CFLAGS=.*/& -DBSD/' \
- Makefile.linux || die "sed failed"
-
- # Clean up library flag order for --as-needed
-# sed -i -e 's/@$(LINK) $(CFLAGS) $(LDFLAGS) -o $(EXE) $(OBJS)/@$(LINK) $(CFLAGS) -o $(EXE) $(OBJS) $(LDFLAGS)/' Makefile.linux
-
- # Finally, update the server
- sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \
- el.ini || die "sed failed"
-
- sed -i -e 's:FEATURES:EL_FEATURES:' make.defaults
- sed -i -e 's:FEATURES:EL_FEATURES:' Makefile.linux
-
- if use debug; then
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' make.defaults
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile.linux
- fi
-
- cp Makefile.linux Makefile
-
- epatch "${FILESDIR}/${PN}-1.9.2-glext.patch"
-# epatch "${FILESDIR}/${PN}-1.9.1-libpng.patch"
-
-# Fix for Gentoo zlib OF redefine
-
- sed -i '1i#define OF(x) x' `find -name "*.c"` || die "sed failed"
-}
-
-src_compile() {
- emake || die "make failed"
-
- if use doc; then
- emake docs || die "Failed to create documentation, try with USE=-doc"
- mv ./docs/html/ ../client || die "Failed to move documentation directory"
- fi
-}
-
-src_install() {
- doicon "${DISTDIR}/eternal-lands.png" ${PN}.png
-
- newgamesbin el.x86.linux.bin el \
- || die "newgamesbin failed"
- make_desktop_entry el "Eternal Lands" \
- || die "make_desktop_entry failed"
- insopts -m 0660
- insinto "${GAMES_DATADIR}/${PN}"
-
- doins -r *.ini *.txt commands.lst \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Auto Update is now enabled in Eternal Lands"
- elog "If an update occurs then the client will suddenly exit"
- elog "Updates only happen when the game first loads"
- elog "Please don't report this behaviour as a bug"
-
- # Ensure that the files are writable by the game group for auto
- # updating.
- chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}"
-
- # Make sure new files stay in games group
- find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \;
-
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.9.2.ebuild b/games-rpg/eternal-lands/eternal-lands-1.9.2.ebuild
deleted file mode 100644
index dfdd692983b3..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.9.2.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic games
-
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="https://dev.gentoo.org/~rich0/distfiles/elc_1.9.2-20110618.tar.bz2
- https://dev.gentoo.org/~rich0/distfiles/eternal-lands.png"
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="debug doc kernel_linux"
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- virtual/opengl
- virtual/glu
- media-libs/libsdl[X]
- media-libs/sdl-net
- media-libs/sdl-image
- media-libs/openal
- media-libs/freealut
- media-libs/libvorbis
- dev-libs/libxml2
- media-libs/cal3d[-16bit-indices]
- media-libs/libpng
- >=games-rpg/eternal-lands-data-1.9.2"
-
-DEPEND="${RDEPEND}
- >=app-eselect/eselect-opengl-1.0.6-r1
- app-arch/unzip
- doc? ( app-doc/doxygen
- media-gfx/graphviz )"
-
-#ECVS_SERVER="cvs.elc.berlios.de:/cvsroot/elc"
-#ECVS_MODULE="elc"
-#ECVS_USER="anonymous"
-#ECVS_LOCALNAME="elc"
-#ECVS_PASS=""
-#ECVS_CVS_OPTIONS="-dP -z3"
-#ECVS_BRANCH="elc_1_8_0"
-
-#S="${WORKDIR}/${ECVS_MODULE}"
-S="${WORKDIR}/elc"
-
-src_unpack() {
-# cvs_src_unpack
- OPTIONS="-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="firefox"
- unpack ${A}
- cd "${S}"
-}
-
-src_prepare() {
- # Add debugging options
- if use debug ; then
- OPTIONS="${OPTIONS} -DMEMORY_DEBUG"
- append-flags -ggdb
- fi
-
- # Clean compile flags (make Gentoo friendly)
- sed -i \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O0 -ggdb -pipe@CFLAGS = ${CFLAGS} ${OPTIONS} @g" \
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O0 -ggdb -pipe@CXXFLAGS = ${CXXFLAGS} ${OPTIONS} @g" \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux || die "sed failed"
-
- sed -i \
- -e 's/#browser/browser/g' \
- -e "s/browser = mozilla/#browser = ${BROWSER}/g" \
- -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
- el.ini || die "sed failed"
-
- # Support BSD in the Linux makefile - it's easier
- use kernel_linux || sed -i \
- -e 's/^CFLAGS=.*/& -DBSD/' \
- Makefile.linux || die "sed failed"
-
- # Clean up library flag order for --as-needed
-# sed -i -e 's/@$(LINK) $(CFLAGS) $(LDFLAGS) -o $(EXE) $(OBJS)/@$(LINK) $(CFLAGS) -o $(EXE) $(OBJS) $(LDFLAGS)/' Makefile.linux
-
- # Finally, update the server
- sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \
- el.ini || die "sed failed"
-
- sed -i -e 's:FEATURES:EL_FEATURES:' make.defaults
- sed -i -e 's:FEATURES:EL_FEATURES:' Makefile.linux
-
- if use debug; then
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' make.defaults
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile.linux
- fi
-
- cp Makefile.linux Makefile
-
- epatch "${FILESDIR}/${PN}-1.9.2-glext.patch"
-# epatch "${FILESDIR}/${PN}-1.9.1-libpng.patch"
-}
-
-src_compile() {
- emake || die "make failed"
-
- if use doc; then
- emake docs || die "Failed to create documentation, try with USE=-doc"
- mv ./docs/html/ ../client || die "Failed to move documentation directory"
- fi
-}
-
-src_install() {
- doicon "${DISTDIR}/eternal-lands.png" ${PN}.png
-
- newgamesbin el.x86.linux.bin el \
- || die "newgamesbin failed"
- make_desktop_entry el "Eternal Lands" \
- || die "make_desktop_entry failed"
- insopts -m 0660
- insinto "${GAMES_DATADIR}/${PN}"
-
- doins -r *.ini *.txt commands.lst \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Auto Update is now enabled in Eternal Lands"
- elog "If an update occurs then the client will suddenly exit"
- elog "Updates only happen when the game first loads"
- elog "Please don't report this behaviour as a bug"
-
- # Ensure that the files are writable by the game group for auto
- # updating.
- chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}"
-
- # Make sure new files stay in games group
- find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \;
-
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.9.3.ebuild b/games-rpg/eternal-lands/eternal-lands-1.9.3.ebuild
deleted file mode 100644
index 83bec66837a3..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.9.3.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic games
-
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_1.9.3-20120213.tar.bz2
- https://dev.gentoo.org/~rich0/distfiles/eternal-lands.png"
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="debug doc kernel_linux"
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- virtual/opengl
- virtual/glu
- media-libs/libsdl[X]
- media-libs/sdl-net
- media-libs/sdl-image
- media-libs/openal
- media-libs/freealut
- media-libs/libvorbis
- dev-libs/libxml2
- media-libs/cal3d[-16bit-indices]
- media-libs/libpng
- >=games-rpg/eternal-lands-data-1.9.2"
-
-DEPEND="${RDEPEND}
- >=app-eselect/eselect-opengl-1.0.6-r1
- app-arch/unzip
- doc? ( app-doc/doxygen
- media-gfx/graphviz )"
-
-#ECVS_SERVER="cvs.elc.berlios.de:/cvsroot/elc"
-#ECVS_MODULE="elc"
-#ECVS_USER="anonymous"
-#ECVS_LOCALNAME="elc"
-#ECVS_PASS=""
-#ECVS_CVS_OPTIONS="-dP -z3"
-#ECVS_BRANCH="elc_1_8_0"
-
-#S="${WORKDIR}/${ECVS_MODULE}"
-S="${WORKDIR}/elc"
-
-src_unpack() {
-# cvs_src_unpack
- OPTIONS="-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="firefox"
- unpack ${A}
- cd "${S}"
-}
-
-src_prepare() {
- # Add debugging options
- if use debug ; then
- OPTIONS="${OPTIONS} -DMEMORY_DEBUG"
- append-flags -ggdb
- fi
-
- # Clean compile flags (make Gentoo friendly)
- sed -i \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O0 -ggdb -pipe@CFLAGS = ${CFLAGS} ${OPTIONS} @g" \
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O0 -ggdb -pipe@CXXFLAGS = ${CXXFLAGS} ${OPTIONS} @g" \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux || die "sed failed"
-
- sed -i \
- -e 's/#browser/browser/g' \
- -e "s/browser = mozilla/#browser = ${BROWSER}/g" \
- -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
- el.ini || die "sed failed"
-
- # Support BSD in the Linux makefile - it's easier
- use kernel_linux || sed -i \
- -e 's/^CFLAGS=.*/& -DBSD/' \
- Makefile.linux || die "sed failed"
-
- # Clean up library flag order for --as-needed
-# sed -i -e 's/@$(LINK) $(CFLAGS) $(LDFLAGS) -o $(EXE) $(OBJS)/@$(LINK) $(CFLAGS) -o $(EXE) $(OBJS) $(LDFLAGS)/' Makefile.linux
-
- # Finally, update the server
- sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \
- el.ini || die "sed failed"
-
- sed -i -e 's:FEATURES:EL_FEATURES:' make.defaults
- sed -i -e 's:FEATURES:EL_FEATURES:' Makefile.linux
-
- if use debug; then
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' make.defaults
- sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile.linux
- fi
-
- cp Makefile.linux Makefile
-
- epatch "${FILESDIR}/${PN}-1.9.2-glext.patch"
-# epatch "${FILESDIR}/${PN}-1.9.1-libpng.patch"
-
-# Fix for Gentoo zlib OF redefine
-
- sed -i '1i#define OF(x) x' `find -name "*.c"` || die "sed failed"
-}
-
-src_compile() {
- emake || die "make failed"
-
- if use doc; then
- emake docs || die "Failed to create documentation, try with USE=-doc"
- mv ./docs/html/ ../client || die "Failed to move documentation directory"
- fi
-}
-
-src_install() {
- doicon "${DISTDIR}/eternal-lands.png" ${PN}.png
-
- newgamesbin el.x86.linux.bin el \
- || die "newgamesbin failed"
- make_desktop_entry el "Eternal Lands" \
- || die "make_desktop_entry failed"
- insopts -m 0660
- insinto "${GAMES_DATADIR}/${PN}"
-
- doins -r *.ini *.txt commands.lst \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Auto Update is now enabled in Eternal Lands"
- elog "If an update occurs then the client will suddenly exit"
- elog "Updates only happen when the game first loads"
- elog "Please don't report this behaviour as a bug"
-
- # Ensure that the files are writable by the game group for auto
- # updating.
- chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}"
-
- # Make sure new files stay in games group
- find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \;
-
-}