aboutsummaryrefslogtreecommitdiff
path: root/python/sge-pygame/sge-pygame.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-02 18:48:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-02 18:48:15 +0700
commitde9cd1958211e8ad133524dbf85464599d8af9f1 (patch)
treef3a8aa695c68c2e2f6f7cc11c34fbc976af199e8 /python/sge-pygame/sge-pygame.SlackBuild
parent73ce4cd004d50720f9a7aeceff81c00d7aa0e605 (diff)
python/sge-pygame: Updated for version 0.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/sge-pygame/sge-pygame.SlackBuild')
-rw-r--r--python/sge-pygame/sge-pygame.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/sge-pygame/sge-pygame.SlackBuild b/python/sge-pygame/sge-pygame.SlackBuild
index d60121da72bcb..0efb723255a1e 100644
--- a/python/sge-pygame/sge-pygame.SlackBuild
+++ b/python/sge-pygame/sge-pygame.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sge-pygame
-VERSION=${VERSION:-0.8.0}
-SRCVERSION=${VERSION}-py2.7
+SRCVER=${SRCVER:-0.9.1-py2.7}
+VERSION=$(echo $SRCVER | cut -c1-5)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README WHATSNEW* doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README WHATSNEW* VERSION* doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install