games/javacpc: Updated for version 3.0.2.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2022-06-28 19:20:02 +03:00 committed by Willy Sudiarto Raharjo
parent 39bd717f73
commit c816c272e6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for javacpc
# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=javacpc
SRCNAM=JavaCPC_Desktop
VERSION=${VERSION:-2.9.8f}
VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -85,7 +85,7 @@ find -L . \
DATA="system lib JavaCPC_Easteregg.zip"
mkdir -p $PKG/usr/share/$PRGNAM
for i in $DATA; do
cp -rf $i $PKG/usr/share/$PRGNAM
cp -rf $i $PKG/usr/share/$PRGNAM
done
# install library
@ -98,7 +98,7 @@ install -D -m0755 *.jar $PKG/usr/share/$PRGNAM
# remove unused
REMOVE="*.exe *.dll lib/sunos lib/windows"
for i in $REMOVE; do
rm -rf $PKG/usr/share/$PRGNAM/$i
rm -rf $PKG/usr/share/$PRGNAM/$i
done
# install launcher

View file

@ -1,8 +1,8 @@
PRGNAM="javacpc"
VERSION="2.9.8f"
VERSION="3.0.2"
HOMEPAGE="http://cpc-live.com"
DOWNLOAD="https://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_2.9.8f.zip"
MD5SUM="4fec6ebf5730f1bac7db59a67f194a8a"
DOWNLOAD="https://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_3.0.2.zip"
MD5SUM="265b35fe51821ec823b230c2808c828e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
cd /usr/share/javacpc
java -jar JavaCPC.jar