summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Cendron <scen@gentoo.org>2007-06-11 22:46:50 +0000
committerDavide Cendron <scen@gentoo.org>2007-06-11 22:46:50 +0000
commit9c490c6929b94d9a1282b9f4fef5ac1980f00a3e (patch)
tree6da17dedf5c935f65d00a12c1d631b2334315d86 /games-fps/uhexen2
parentgames-fps/uhexen2: New Ebuild for bug 105780 thanks to Paul Bredbury and #gen... (diff)
downloadsunrise-reviewed-9c490c6929b94d9a1282b9f4fef5ac1980f00a3e.tar.gz
sunrise-reviewed-9c490c6929b94d9a1282b9f4fef5ac1980f00a3e.tar.bz2
sunrise-reviewed-9c490c6929b94d9a1282b9f4fef5ac1980f00a3e.zip
games-fps/uhexen2: Little fix to src_unpack (it always died with 'demo' USE flag enabled)
svn path=/sunrise/; revision=3892
Diffstat (limited to 'games-fps/uhexen2')
-rw-r--r--games-fps/uhexen2/Manifest2
-rw-r--r--games-fps/uhexen2/uhexen2-1.4.2_rc1.ebuild8
2 files changed, 6 insertions, 4 deletions
diff --git a/games-fps/uhexen2/Manifest b/games-fps/uhexen2/Manifest
index b8ae648ed..697f599c8 100644
--- a/games-fps/uhexen2/Manifest
+++ b/games-fps/uhexen2/Manifest
@@ -2,6 +2,6 @@ AUX uhexen2-1.4.2_rc1-h2launcher_improvements.diff 19550 RMD160 2ce939b692a0ee53
DIST gamedata-all-1.19-rc1.tgz 3703567 RMD160 11a9181428bd1e964d3513fb46cb1e35bc3ef292 SHA1 af9f96446c5607cf0974fa0b898e6925de9723d8 SHA256 3914c4af9acbabdfbec772bdc61a43bc265820ddb33aec4ab804e434105ff42b
DIST hexen2source-1.4.2-rc1.tgz 2029803 RMD160 8ffd436e45d7848326451118e1ccb222c1c02c9c SHA1 40551447d1f2366b4e962fb41503c1064978e2c3 SHA256 b96d55ba9c618d39fd7d6fef19c6423a4bd301f41648540012debc68782b3900
DIST hexenworld-pakfiles-0.15.tgz 4956848 RMD160 cd6cafb8e597028e1405638b7a60e1f30ce6d846 SHA1 57af1db9a92f2e41f8fa0f1e5f779f4ec648e730 SHA256 215e92f58bc7ed6098f076b45a20b94092599bfce6c4cd00f2895b24a6ee72fe
-EBUILD uhexen2-1.4.2_rc1.ebuild 12538 RMD160 16bc3c19fb9ab62e5869d2f1d139ddd5d77af9b1 SHA1 a7027e2d5f2350e1000c6db842ecc83132c29afb SHA256 1b57bc382d55985e4df7989af224eda8c60769f80751dab670c963d59083a863
+EBUILD uhexen2-1.4.2_rc1.ebuild 12555 RMD160 dee2ca8c7493276bc3daba9500eb403f7062c5ca SHA1 81082390297179d5768cf80119a165c84d6901cf SHA256 a7518adf4514d7488517ed05baa78233273daca3c96c8a05ac4a2da9f1056f06
MISC ChangeLog 352 RMD160 cf89b930ceff1ec8192fc1bff5f3718f26f40eea SHA1 4d41e8e4f830ff0e51d1713d87f895cc897b4bef SHA256 32385c00c7e9bd5af40464d659ed808944c55a4803bb038203e0cd7b806a7552
MISC metadata.xml 323 RMD160 9bd3e2609db68873920ae0528018db42d7454733 SHA1 35f85b93ecc3cf3783b9e4f14047e54beaa93911 SHA256 a7757609f5e945442f6bf3953b81f969ca132a5482b73ddaf1aa658f05845bd7
diff --git a/games-fps/uhexen2/uhexen2-1.4.2_rc1.ebuild b/games-fps/uhexen2/uhexen2-1.4.2_rc1.ebuild
index 82d261b30..bb7832c66 100644
--- a/games-fps/uhexen2/uhexen2-1.4.2_rc1.ebuild
+++ b/games-fps/uhexen2/uhexen2-1.4.2_rc1.ebuild
@@ -127,9 +127,11 @@ src_unpack() {
-e "/game_basedir\[0\]/d" \
launcher/config_file.c || die "sed config_file.c failed"
# Tweak the default name for binary executables,if DEMO version is enabled
- use demo && sed -i \
- -e "/BINARY_NAME/s:\"$:-demo\":" \
- launcher/games.h || die "sed games.g failed"
+ if use demo ; then
+ sed -i \
+ -e "/BINARY_NAME/s:\"$:-demo\":" \
+ launcher/games.h || die "sed games.g failed"
+ fi
fi
rm -rf docs/{activision,COMPILE,COPYING,LICENSE,README.win32}