more quoting
authorTristan Heaven <tristan@gentoo.org>
Sat, 6 Jan 2007 00:05:30 +0000 (00:05 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sat, 6 Jan 2007 00:05:30 +0000 (00:05 +0000)
Package-Manager: portage-2.1.2_rc4-r5

games-strategy/outerspace/Manifest
games-strategy/outerspace/files/outerspace
games-strategy/outerspace/outerspace-0.5.59.ebuild

index 0573da0f5c61965435d431a3737ef85ece775da5..e3f4b6dd2891f3962949f3b1b47b948765edeebe 100644 (file)
@@ -1,15 +1,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX outerspace 285 RMD160 a55db7cd93d0066624d1c06c918caa79a57b1501 SHA1 89694bc12673a7eb37c6959ce6e2b75ecfb646db SHA256 76d3318088064140d392bde2d2254e5241adced1b6a1a1d02e1ed61d9c0b3fe6
-MD5 471516959094721f1a7fe6bea662f4a7 files/outerspace 285
-RMD160 a55db7cd93d0066624d1c06c918caa79a57b1501 files/outerspace 285
-SHA256 76d3318088064140d392bde2d2254e5241adced1b6a1a1d02e1ed61d9c0b3fe6 files/outerspace 285
+AUX outerspace 169 RMD160 b89fc3abffe85f63cb8469b0ac2abe0fd3b60dc1 SHA1 e9e864259d66cdb08f7a55e3df3f6f39a26b45fc SHA256 e6b6bad8a9ea3e85c13a282e8eb9ed1c71649d79a3309c5f7a053a2727028a7b
+MD5 79eaa767ec7186dc3440874ac49e6a12 files/outerspace 169
+RMD160 b89fc3abffe85f63cb8469b0ac2abe0fd3b60dc1 files/outerspace 169
+SHA256 e6b6bad8a9ea3e85c13a282e8eb9ed1c71649d79a3309c5f7a053a2727028a7b files/outerspace 169
 DIST OuterSpace-0.5.59.tar.gz 1546027 RMD160 7a24b19a7c9ecb179276fd64440978634a2d81f4 SHA1 a59fb57f1b6da1de670512d6c599cccc9fd46232 SHA256 b600d80615c2383958632cda5433be280254dac76228a015a4eb3d987d4ee5ba
-EBUILD outerspace-0.5.59.ebuild 1181 RMD160 847742489180e06e9a433ee58852efd55993a561 SHA1 9f330659027f679d668aff1331929621b3fd1d4d SHA256 2615a3f8f8c8459d31b0784b5b967273b83991f9ba1bbc2d20fc2436150f679c
-MD5 9f0d330d167876d941d1ec316f2649d3 outerspace-0.5.59.ebuild 1181
-RMD160 847742489180e06e9a433ee58852efd55993a561 outerspace-0.5.59.ebuild 1181
-SHA256 2615a3f8f8c8459d31b0784b5b967273b83991f9ba1bbc2d20fc2436150f679c outerspace-0.5.59.ebuild 1181
+EBUILD outerspace-0.5.59.ebuild 1121 RMD160 3f38ef40c65b17ccdc9acdc26ff6939b9a015d0c SHA1 facebab0c7e9d5ab4b68e77cf33119d20a86e9ff SHA256 971f4fa5e23badff96635ba3d628a2d1670ecdd44896630e37f553921a06303f
+MD5 a37a1a57e9989b973738c958dcab6ccb outerspace-0.5.59.ebuild 1121
+RMD160 3f38ef40c65b17ccdc9acdc26ff6939b9a015d0c outerspace-0.5.59.ebuild 1121
+SHA256 971f4fa5e23badff96635ba3d628a2d1670ecdd44896630e37f553921a06303f outerspace-0.5.59.ebuild 1121
 MISC ChangeLog 507 RMD160 341304473b6595133f35f94f10b1655b79e3e4ca SHA1 1b5372809f9889a6b4bbeebfcb692600ca182b45 SHA256 3051be042947cb90d758c61e0a23e5f1471ba6067aafc71ff3c60003124ce785
 MD5 64c491f081c2c6359297197c9ccedc9d ChangeLog 507
 RMD160 341304473b6595133f35f94f10b1655b79e3e4ca ChangeLog 507
@@ -22,9 +22,9 @@ MD5 2eaf545aa5a9a37b2bb228ae446a32fc files/digest-outerspace-0.5.59 256
 RMD160 bcf9c7bd21bc41d2bf229094304678822c494c3d files/digest-outerspace-0.5.59 256
 SHA256 6f593c3f24b6705ffeb4892a603c0ddef42e40602bb10bcc528eaaf8820d36ec files/digest-outerspace-0.5.59 256
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFmasebfN2jvlVAhwRAmBHAJ9iphxYPrqbWlv8MR0XGr+loet5pACbBPEC
-BpPKicQoXxehAN6kjwIwfYQ=
-=Na+e
+iD8DBQFFnufTdz7hIScOURERAjsYAJ9uTtwGehAfp0ywD761/ET7KB2+KgCeIN4O
+E5U08F8G8JdZFnGqRr4siFU=
+=bSsG
 -----END PGP SIGNATURE-----
index abcadba78142524888dd3bbb8b3dd4c9c8912376..2a6bbe26dafb6d830f8019ac95821dfb9fa60f55 100644 (file)
@@ -1,11 +1,9 @@
-#! /bin/sh
+#!/bin/bash
+
+mkdir -p ~/.outerspace
+cd ~/.outerspace || exit 1
+
+ln -sf "@GENTOO_LIBDIR@"/{osc.py,lib,libsrvr} .
+ln -sf "@GENTOO_DATADIR@"/res .
 
-if [ ! -e $HOME/.outerspace ]
-then
-       echo "First run - copying files to $HOME/.outerspace"
-       mkdir $HOME/.outerspace
-       ln -s @GENTOO_LIBDIR@/{osc.py,lib,libsrvr} $HOME/.outerspace/
-       ln -s @GENTOO_DATADIR@/res $HOME/.outerspace/
-fi
-cd $HOME/.outerspace
 exec python osc.py "$@"
index 4ff48f87016ef86c50d8889a55113c9a515934ca..456d03019d6db9eb233c592342631d1be7e94a00 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/outerspace/outerspace-0.5.59.ebuild,v 1.2 2007/01/02 00:45:05 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/outerspace/outerspace-0.5.59.ebuild,v 1.3 2007/01/06 00:05:30 nyhm Exp $
 
 inherit eutils games
 
@@ -8,7 +8,7 @@ MY_PN=${PN/outerspace/OuterSpace}
 MY_P=${MY_PN}-$PV
 
 DESCRIPTION="on-line strategy game taking place in the dangerous universe"
-HOMEPAGE="http://www.ospace.net"
+HOMEPAGE="http://www.ospace.net/"
 SRC_URI="mirror://sourceforge/ospace/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
@@ -24,22 +24,19 @@ S=${WORKDIR}/${MY_P}
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       cp ${FILESDIR}/${PN} . || die "cp of wrapper failed"
-       sed -i \
-               -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+       sed -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
                -e "s:@GENTOO_LIBDIR@:${GAMES_LIBDIR}/${PN}:" \
-               ${PN} || die "sed, updating path, failed"
+               "${FILESDIR}"/${PN} > ${PN} \
+               || die "sed failed"
 }
 
 src_install() {
-       insinto ${GAMES_LIBDIR}/${PN}
+       insinto "${GAMES_LIBDIR}"/${PN}
        doins -r osc.py lib libsrvr || die "doins of libraries failed"
-       insinto ${GAMES_DATADIR}/${PN}
+       insinto "${GAMES_DATADIR}"/${PN}
        doins -r res || die "doins of data failed"
        dogamesbin ${PN} || die "dogamesbin failed"
-
        newicon res/icon32.png ${PN}.png
-
-       make_desktop_entry ${PN} ${MY_PN} ${PN}.png
+       make_desktop_entry ${PN} ${MY_PN}
        prepgamesdirs
 }