summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-07-11 08:54:40 +0000
committerMichael Weber <xmw@gentoo.org>2010-07-11 08:54:40 +0000
commitfff0c858901aacee891f13d72e0253667cf74b98 (patch)
treeb65430232dd9acfc4717576ea65e6b06a5d8d243
parentgames-fps/hexen2-demodata: Ebuild cleanup, added amd64 specific SRC_URI (diff)
downloadsunrise-fff0c858901aacee891f13d72e0253667cf74b98.tar.gz
sunrise-fff0c858901aacee891f13d72e0253667cf74b98.tar.bz2
sunrise-fff0c858901aacee891f13d72e0253667cf74b98.zip
games-fps/hexen2-lights: Ebuild cleanup
svn path=/sunrise/; revision=10996
-rw-r--r--games-fps/hexen2-lights/ChangeLog5
-rw-r--r--games-fps/hexen2-lights/Manifest4
-rw-r--r--games-fps/hexen2-lights/hexen2-lights-1.ebuild23
3 files changed, 17 insertions, 15 deletions
diff --git a/games-fps/hexen2-lights/ChangeLog b/games-fps/hexen2-lights/ChangeLog
index cb95c6df8..8b893406c 100644
--- a/games-fps/hexen2-lights/ChangeLog
+++ b/games-fps/hexen2-lights/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for games-fps/hexen2-lights
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 11 Jul 2010; Michael Weber (xmw) <gentoo@xmw.de> hexen2-lights-1.ebuild:
+ Ebuild cleanup
+
26 Mar 2009; Tiago Cunha <tcunha@gentoo.org> metadata.xml:
Fix metadata.xml.
diff --git a/games-fps/hexen2-lights/Manifest b/games-fps/hexen2-lights/Manifest
index 0ca78a8ef..92b53f6c0 100644
--- a/games-fps/hexen2-lights/Manifest
+++ b/games-fps/hexen2-lights/Manifest
@@ -1,4 +1,4 @@
DIST hexen2-lit_files.tgz 8326577 RMD160 c6d9afdc6ba796fc80b012829eb541c4f450faaa SHA1 3e27f5169f421e1ef9df6182d87237cb20ad5673 SHA256 1932cba4af209c7b3a9ee89f1e985297ccc8daaf1ad3c0e3b71bccee14593100
-EBUILD hexen2-lights-1.ebuild 899 RMD160 22e2b273fe28909cc1104b7597bdef557bc8b485 SHA1 d05fe7e45312be090ac0f88f45ed7eaa3067da00 SHA256 17534b09196c052932a78a07bbaa0db6cf196f14531437e31ef0110a20296591
-MISC ChangeLog 584 RMD160 8d22653ee3c6dcadbe8a18035c9b886d1b29b24a SHA1 6bd77c71bb0fe6d36f0077c50f0b4b7a88520220 SHA256 440efbab8dbd580b5dda225718731f8474f248f7efa9ae0df664c9aed5e2c3d7
+EBUILD hexen2-lights-1.ebuild 908 RMD160 38b7c5f7deb1f0a230d1123e760ca961bdae982a SHA1 fd1aedd80347dac1c876b306ebe9af8682237b5c SHA256 70d4fc1298f289d3e4217ce0d63b4e61fcb82f34c926681d8a2bcc9911e13257
+MISC ChangeLog 677 RMD160 022fa95f046b49cddc60dec2a102878b0ec866c8 SHA1 4467ab28709938dee53f393227ee2639b8282d88 SHA256 a0c354d5f3a923ebcc4398e8df7bd160ddf297b264708553a7db68ac80fde636
MISC metadata.xml 424 RMD160 e2bdf06130242a576770ce363db6455ba8ff6b75 SHA1 6f9f03273bfd0051781fb2e3d3489c35052dfc26 SHA256 d758d21cc4fa32881141f5953bc823fa3b5e67eee1fb4ce08e26ba9a778c0ae2
diff --git a/games-fps/hexen2-lights/hexen2-lights-1.ebuild b/games-fps/hexen2-lights/hexen2-lights-1.ebuild
index 387233f0a..a85b03b8f 100644
--- a/games-fps/hexen2-lights/hexen2-lights-1.ebuild
+++ b/games-fps/hexen2-lights/hexen2-lights-1.ebuild
@@ -2,13 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils games
+inherit games
MY_PN="hexen2"
DESCRIPTION="Colored lighting data for Hexen 2"
HOMEPAGE="http://uhexen2.sourceforge.net/"
-SRC_URI="mirror://sourceforge/uhexen2/hexen2-lit_files.tgz"
+SRC_URI="mirror://sourceforge/u${MY_PN}/${MY_PN}-lit_files.tgz"
LICENSE="as-is"
SLOT="0"
@@ -16,17 +16,17 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
S=${WORKDIR}
-dir=${GAMES_DATADIR}/${MY_PN}
src_install() {
- insinto "${dir}"
- doins -r data1 || die "doins * failed"
+ local my_dir=${GAMES_DATADIR}/${MY_PN}
+ insinto "${my_dir}"
+ doins -r data1 || die
# The 3 demo maps are also in the demo data.
- dodir "${dir}"/demo/data1/maps
- local i
- for i in 1 2 3 ; do
- dosym "${dir}"/data1/maps/demo${i}.lit "${dir}"/demo/data1/maps
+ dodir "${my_dir}"/demo/data1/maps
+ local my_i
+ for my_i in 1 2 3 ; do
+ dosym "${my_dir}"/data1/maps/demo${my_i}.lit "${my_dir}"/demo/data1/maps || die
done
dodoc *.txt || die
@@ -38,8 +38,7 @@ pkg_postinst() {
games_pkg_postinst
if ! has_version "games-fps/uhexen2" ; then
- einfo "This is just lighting data. To play, emerge a client"
- einfo "such as uhexen2."
- echo
+ elog "This is just lighting data. To play, emerge a client"
+ elog "such as uhexen2."
fi
}