You are not logged in.
I saw this character generator and thought it was pretty neat, but don't really have a use for it. I noticed it wasn't in the AUR and started a package for it anyway. The PKGBUILD still needs md5sums and the whole thing needs to be tested. I'm not much of a package builder, so I hope someone will find this program useful and finish building this package.
PKGBUILD
#Contributor: robb_force <robb_force>
pkgname=pcgen
pkgver=5.14.1
_pkgver=5141
pkgrel=1
pkgdesc="An RPG character generator and maintenance program (d20 systems)."
url="http://pcgen.sourceforge.net/01_overview.php"
license=('LGPL' 'OGL')
arch=('i686' 'x86_64')
depends=('jre')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}${_pkgver}_full.zip)
install=pcgen.install
build()
{
cd ${startdir}/src/${pkgname}${_pkgver}
# Install the script
sed -e 's|dirname|/opt/pcgen/|' -i pcgen.sh
install -Dm0755 pcgen.sh ${startdir}/pkg/usr/bin/${pkgname}
# Install everything else in /opt/pcgen
rm -f *.bat *.html *.sh
mkdir -p ${startdir}/pkg/opt/${pkgname}
cp -R * ${startdir}/pkg/opt/${pkgname}/
# Change group to games
chown -R :games ${startdir}/pkg/opt/${pkgname}
# Set permissions for files and folders
find ${startdir}/pkg/opt/${pkgname} -type f -exec chmod 660 {} +
find ${startdir}/pkg/opt/${pkgname} -type d -exec chmod 770 {} +
}pcgen.install
# Message displayed for a fresh install.
post_install()
{
echo ""
echo "****************************************************************"
echo " PCGen has been installed in /opt/pcgen/"
echo " However, PCGen can be run by typing pcgen at a terminal window."
echo ""
echo " Note: You must be a member of the games group to run PCGen:"
echo " useradd -G games {username}"
echo "****************************************************************"
echo ""
}
op=$1
shift
$op $*Offline
Good work! I finished the PKGBUILD with some changes. AUR package here: http://aur.archlinux.org/packages.php?ID=19579
[dragonlord]
Server = http://repo.dragonlord.cz/arch/i686
or
Server = http://repo.dragonlord.cz/arch/x86_64
Offline