games/pcgen: Added (RPG character generator).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
ea837431d1
commit
632ade93a0
|
@ -0,0 +1,10 @@
|
|||
PCGen helps you build characters for role-playing games like
|
||||
[Pathfinder](http://paizo.com/pathfinderRPG) and
|
||||
[D&D](http://dnd.wizards.com).
|
||||
|
||||
It's like a 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.
|
|
@ -0,0 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
|
@ -0,0 +1,58 @@
|
|||
#!/bin/sh
|
||||
# Slackware build script for pcgen
|
||||
# Copyright 2017 klaatu @ member.fsf.org
|
||||
#
|
||||
# GNU All-Permissive License
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
# notice and this notice are preserved. This file is offered as-is,
|
||||
# without any warranty.
|
||||
|
||||
PRGNAM=pcgen
|
||||
VERSION=${VERSION:-"6.06.01"}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH="noarch"
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
unzip $CWD/"$PRGNAM"-"$VERSION"-full.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 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/opt/
|
||||
mv $PRGNAM $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
|
||||
|
||||
# desktop file, added to SlackBuild for convenience
|
||||
mkdir -p $PKG/usr/share/applications/
|
||||
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -0,0 +1,76 @@
|
|||
[Desktop Entry]
|
||||
Name=pcgen
|
||||
Name[af]=pcgen
|
||||
Name[as]=pcgen
|
||||
Name[ast]=pcgen
|
||||
Name[be]=pcgen
|
||||
Name[be@latin]=pcgen
|
||||
Name[bg]=pcgen
|
||||
Name[bn_IN]=pcgen
|
||||
Name[ca]=pcgen
|
||||
Name[ca@valencia]=pcgen
|
||||
Name[cs]=pcgen
|
||||
Name[csb]=pcgen
|
||||
Name[da]=pcgen
|
||||
Name[de]=pcgen
|
||||
Name[el]=pcgen
|
||||
Name[en_GB]=pcgen
|
||||
Name[eo]=pcgen
|
||||
Name[es]=pcgen
|
||||
Name[et]=pcgen
|
||||
Name[eu]=pcgen
|
||||
Name[fi]=pcgen
|
||||
Name[fr]=pcgen
|
||||
Name[ga]=pcgen
|
||||
Name[gl]=pcgen
|
||||
Name[he]=pcgen
|
||||
Name[hr]=pcgen
|
||||
Name[hsb]=pcgen
|
||||
Name[hu]=pcgen
|
||||
Name[ia]=pcgen
|
||||
Name[id]=pcgen
|
||||
Name[is]=pcgen
|
||||
Name[it]=pcgen
|
||||
Name[ja]=pcgen
|
||||
Name[ka]=pcgen
|
||||
Name[kk]=pcgen
|
||||
Name[km]=pcgen
|
||||
Name[ko]=pcgen
|
||||
Name[ku]=pcgen
|
||||
Name[lt]=pcgen
|
||||
Name[lv]=pcgen
|
||||
Name[ms]=pcgen
|
||||
Name[nb]=pcgen
|
||||
Name[nds]=pcgen
|
||||
Name[nl]=pcgen
|
||||
Name[nn]=pcgen
|
||||
Name[oc]=pcgen
|
||||
Name[pl]=pcgen
|
||||
Name[pt]=pcgen
|
||||
Name[pt_BR]=pcgen
|
||||
Name[ro]=pcgen
|
||||
Name[ru]=pcgen
|
||||
Name[se]=pcgen
|
||||
Name[sk]=pcgen
|
||||
Name[sl]=pcgen
|
||||
Name[sr@ijekavianlatin]=pcgen
|
||||
Name[sr@latin]=pcgen
|
||||
Name[sv]=pcgen
|
||||
Name[tg]=pcgen
|
||||
Name[tr]=pcgen
|
||||
Name[ug]=pcgen
|
||||
Name[uk]=pcgen
|
||||
Name[uz]=pcgen
|
||||
Name[uz@cyrillic]=pcgen
|
||||
Name[vi]=pcgen
|
||||
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
|
||||
Type=Application
|
||||
Categories=Java;Game;BoardGame;
|
||||
GenericName=PCGen
|
||||
GenericName[x-test]=xxPCGenxx
|
||||
Terminal=false
|
|
@ -0,0 +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="jdk"
|
||||
MAINTAINER="klaatu"
|
||||
EMAIL="klaatu@member.fsf.org"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----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: http://pcgen.org
|
||||
pcgen:
|
||||
pcgen:
|
||||
pcgen:
|
||||
pcgen:
|
||||
pcgen:
|
Loading…
Reference in New Issue