summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author klaatu2022-03-06 09:47:36 +0100
committer Willy Sudiarto Raharjo2022-03-07 02:38:02 +0100
commitc249864ba5785fb7ef99f11623da4972196ffa37 (patch)
treebef9199f7aa4a2f380dbf8707519030b912c9b00
parentcc8b3ecc927ab32f537332c500d814b357554d65 (diff)
downloadslackbuilds-c249864ba5785fb7ef99f11623da4972196ffa37.tar.gz
games/pcgen: Updated for version 6.09.05.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/pcgen/README10
-rw-r--r--games/pcgen/pcgen.SlackBuild15
-rw-r--r--games/pcgen/pcgen.desktop4
-rw-r--r--games/pcgen/pcgen.info14
-rw-r--r--games/pcgen/slack-desc4
5 files changed, 24 insertions, 23 deletions
diff --git a/games/pcgen/README b/games/pcgen/README
index 463923ea51..2fdb066b49 100644
--- a/games/pcgen/README
+++ b/games/pcgen/README
@@ -1,10 +1,10 @@
PCGen helps you build characters for role-playing games like
-[Pathfinder](http://paizo.com/pathfinderRPG) and
-[D&D](http://dnd.wizards.com).
+[D&D](http://dnd.wizards.com) and
+[Pathfinder](http://paizo.com/pathfinderRPG).
-It's like a character sheet that handles all the tricky and tedious
+It's a digital character sheet that handles all the tricky and tedious
parts of building characters. You can use it to build one character
for yourself, or to keep track of a dozen NPCs for a game world.
-PCGen is a volunteer project, so it's free of charge and always will
-be.
+This SlackBuild.org installs from the binary distribution, so it's
+available for x64 only.
diff --git a/games/pcgen/pcgen.SlackBuild b/games/pcgen/pcgen.SlackBuild
index b3f6e31266..8482363d8c 100644
--- a/games/pcgen/pcgen.SlackBuild
+++ b/games/pcgen/pcgen.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
# Slackware build script for pcgen
-# Copyright 2017 klaatu @ member.fsf.org
+# Copyright 2017-22 klaatu @ member.fsf.org
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -11,7 +11,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pcgen
-VERSION=${VERSION:-"6.06.01"}
+VERSION=${VERSION:-"6.09.05"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,8 +37,9 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
-unzip $CWD/"$PRGNAM"-"$VERSION"-full.zip -d $PRGNAM-$VERSION
+unzip $CWD/image-linux-x64.zip -d $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -47,11 +48,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/
-mv $PRGNAM $PKG/opt/$PRGNAM
+mv $PRGNAM-linux-x64 $PKG/opt/$PRGNAM
-# patch for launcher
-tr -d '\r' < $PKG/opt/$PRGNAM/$PRGNAM.sh > $PKG/opt/$PRGNAM/$PRGNAM-launch.sh
-mv $PKG/opt/$PRGNAM/$PRGNAM-launch.sh $PKG/opt/$PRGNAM/$PRGNAM.sh
+# fix launcher script
+cd $PKG/opt/$PRGNAM
+patch < $CWD/pcgen.patch
# desktop file, added to SlackBuild for convenience
mkdir -p $PKG/usr/share/applications/
diff --git a/games/pcgen/pcgen.desktop b/games/pcgen/pcgen.desktop
index 10135b3412..3da50e6f75 100644
--- a/games/pcgen/pcgen.desktop
+++ b/games/pcgen/pcgen.desktop
@@ -67,8 +67,8 @@ Name[wa]=pcgen
Name[x-test]=xxpcgenxx
Name[zh_CN]=pcgen
Name[zh_TW]=pcgen
-Exec=sh /opt/pcgen/pcgen.sh
-Icon=/opt/pcgen/system/sponsors/pcgen/pcgen_128x128.png
+Exec=/opt/pcgen/pcgen
+Icon=/opt/pcgen/system/icons/pcgen_128x128.png
Type=Application
Categories=Java;Game;BoardGame;
GenericName=PCGen
diff --git a/games/pcgen/pcgen.info b/games/pcgen/pcgen.info
index c02898df3d..cc13834e80 100644
--- a/games/pcgen/pcgen.info
+++ b/games/pcgen/pcgen.info
@@ -1,10 +1,10 @@
PRGNAM="pcgen"
-VERSION="6.06.01"
-HOMEPAGE="https://sourceforge.net/projects/pcgen/"
-DOWNLOAD="https://downloads.sourceforge.net/project/pcgen/PCGen%20Stable/6.06.01/pcgen-6.06.01-full.zip"
-MD5SUM="8ccdff5eed070afd478f3af522f54072"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="zulu-openjdk8"
+VERSION="6.09.05"
+HOMEPAGE="http://pcgen.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/PCGen/pcgen/releases/download/6.09.05/image-linux-x64.zip"
+MD5SUM_x86_64="43a3f0288b48d8a017c6c78edc55b469"
+REQUIRES=""
MAINTAINER="klaatu"
EMAIL="klaatu@member.fsf.org"
diff --git a/games/pcgen/slack-desc b/games/pcgen/slack-desc
index e757b7901c..0f3fa97622 100644
--- a/games/pcgen/slack-desc
+++ b/games/pcgen/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
pcgen: pcgen (RPG character generator)
pcgen:
-pcgen: PCGen is a character creator and tracking application for Pathfinder
-pcgen: and Dungeons & Dragons role-playing games (RPG).
+pcgen: PCGen is a character creator and tracking application for Pathfinder,
+pcgen: Dungeons & Dragons, and similar role-playing games (RPG).
pcgen:
pcgen: http://pcgen.org
pcgen: