From 9c09d2663f7123c2ce7072344b85463c202bb85c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 26 Feb 2015 17:25:28 +0200 Subject: [PATCH] games/javacpc: Updated for version 2.6b. Signed-off-by: Dimitris Zlatanidis --- games/javacpc/javacpc.SlackBuild | 11 ++++++----- games/javacpc/javacpc.info | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild index c218acdf57..a46b64cbb2 100644 --- a/games/javacpc/javacpc.SlackBuild +++ b/games/javacpc/javacpc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for javacpc -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=javacpc -SRCNAM=JavaCPC-Desktop -VERSION=${VERSION:-2.3} +SRCNAM=JavaCPC_Desktop +VERSION=${VERSION:-2.6b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,8 +61,9 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +mkdir -p $SRCNAM-$VERSION cd $SRCNAM-$VERSION +unzip $CWD/$SRCNAM\_$VERSION.zip chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -101,7 +102,7 @@ mkdir -p $PKG/usr/share/pixmaps/ install -D -m644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION +# cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/javacpc/javacpc.info b/games/javacpc/javacpc.info index adbe514c0f..b242473c82 100644 --- a/games/javacpc/javacpc.info +++ b/games/javacpc/javacpc.info @@ -1,8 +1,8 @@ PRGNAM="javacpc" -VERSION="2.3" +VERSION="2.6b" HOMEPAGE="http://cpc-live.com" -DOWNLOAD="https://github.com/dslackw/JavaCPC-Desktop/archive/2.3.tar.gz" -MD5SUM="8b226f45dfaa417bc6741205426de10f" +DOWNLOAD="http://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_2.6b.zip" +MD5SUM="57007fa131945c63ae1a8d95547c0c6a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk"