games/javacpc: Updated for version 2.6b.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2015-02-26 17:25:28 +02:00 committed by Willy Sudiarto Raharjo
parent 5b933c32a8
commit 9c09d2663f
2 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -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"