summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-01-06 12:39:44 +0000
committerRoy Marples <uberlord@gentoo.org>2007-01-06 12:39:44 +0000
commitc76daf61977fc297a9f66a7a9f3a13175038deaf (patch)
tree02de81b74080f692887ecf0930eb18765f27b77e /games-rpg/eternal-lands-data
parentFix as-needed issues, bug 157188; thanks to Mike Mattie (diff)
downloadhistorical-c76daf61977fc297a9f66a7a9f3a13175038deaf.tar.gz
historical-c76daf61977fc297a9f66a7a9f3a13175038deaf.tar.bz2
historical-c76daf61977fc297a9f66a7a9f3a13175038deaf.zip
New release, #159336
Package-Manager: portage-2.1.2_rc4-r6
Diffstat (limited to 'games-rpg/eternal-lands-data')
-rw-r--r--games-rpg/eternal-lands-data/ChangeLog10
-rw-r--r--games-rpg/eternal-lands-data/eternal-lands-data-1.3.3.ebuild61
-rw-r--r--games-rpg/eternal-lands-data/files/digest-eternal-lands-data-1.3.36
3 files changed, 75 insertions, 2 deletions
diff --git a/games-rpg/eternal-lands-data/ChangeLog b/games-rpg/eternal-lands-data/ChangeLog
index 507fde8a0e05..78f104260c10 100644
--- a/games-rpg/eternal-lands-data/ChangeLog
+++ b/games-rpg/eternal-lands-data/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/eternal-lands-data
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.8 2006/10/26 15:40:54 uberlord Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.9 2007/01/06 12:36:19 uberlord Exp $
+
+*eternal-lands-data-1.3.3 (06 Jan 2007)
+
+ 06 Jan 2007; Roy Marples <uberlord@gentoo.org>
+ +eternal-lands-data-1.3.3.ebuild:
+ New release, #159336
26 Oct 2006; Roy Marples <uberlord@gentoo.org>
eternal-lands-data-1.3.2.ebuild:
diff --git a/games-rpg/eternal-lands-data/eternal-lands-data-1.3.3.ebuild b/games-rpg/eternal-lands-data/eternal-lands-data-1.3.3.ebuild
new file mode 100644
index 000000000000..2f7bcf257ef2
--- /dev/null
+++ b/games-rpg/eternal-lands-data/eternal-lands-data-1.3.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.3.3.ebuild,v 1.1 2007/01/06 12:36:19 uberlord Exp $
+
+inherit games
+
+MUSIC_DATE="20060803"
+
+MY_PV="${PV//_/}"
+MY_PV="${MY_PV//./}"
+MY_PN="${PN%*-data}"
+DESCRIPTION="An online MMORPG written in C and SDL"
+HOMEPAGE="http://www.eternal-lands.com"
+SRC_URI="http://el.other-life.com/downloads/el_${MY_PV}_linux_full.zip
+ music? ( mirror://gentoo/el_music_full-${MUSIC_DATE}.zip )"
+# WARNING: The music file is held at
+# http://www.eternal-lands.com/page/music.php
+# We only mirror it so that it is versioned by the date we mirrored it
+# AND prefixed with el_ so as not cause any conflicts. Maybe oneday they will
+# version their music, maybe not.
+
+LICENSE="eternal_lands"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="music"
+
+DEPEND="app-arch/unzip"
+
+# Maybe one day upstream will do things in a consistent way.
+S="${WORKDIR}/Eternal Lands-1.33"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Move our music files to the correct directory
+ use music && mv ../*.ogg ../*.pll music || die
+}
+
+src_install() {
+ # These are provided by eternal-lands ebuild
+ rm license.txt
+
+ insopts -m 0660
+ insinto "${GAMES_DATADIR}/${MY_PN}"
+ doins -r 2dobjects 3dobjects actor_defs animations maps meshes music \
+ particles skeletons sound textures tiles languages \
+ *.lst 3dobjects.txt *.xml \
+ || die "doins failed"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ # Ensure that the files are writable by the game group for auto
+ # updating.
+ chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${MY_PN}"
+
+ # Make sure new files stay in games group
+ find "${ROOT}/${GAMES_DATADIR}/${MY_PN}" -type d -exec chmod g+sx {} \;
+}
diff --git a/games-rpg/eternal-lands-data/files/digest-eternal-lands-data-1.3.3 b/games-rpg/eternal-lands-data/files/digest-eternal-lands-data-1.3.3
new file mode 100644
index 000000000000..01d2220d5478
--- /dev/null
+++ b/games-rpg/eternal-lands-data/files/digest-eternal-lands-data-1.3.3
@@ -0,0 +1,6 @@
+MD5 fe1d3cad410957e9fc47d2ac297b6d25 el_133_linux_full.zip 42692450
+RMD160 572bef1ceac50b96f31136c7b1339a79fe8acf88 el_133_linux_full.zip 42692450
+SHA256 9fbc8a736272a2b6003584a4916b56c0c3f5c4a69fc029171cfdd62249e40c95 el_133_linux_full.zip 42692450
+MD5 95220e0df0be0eb4f2b9646cc5d6b7e5 el_music_full-20060803.zip 65511882
+RMD160 63955f223a8472c9956a5b6912dec7db924f32ee el_music_full-20060803.zip 65511882
+SHA256 1ea4de25081034ac684aaebf127ab6ca8524ba5367532863d84d63837dd631ec el_music_full-20060803.zip 65511882