office/sofastats: Updated for version 1.4.6.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Alan Alberghini 2018-01-03 23:45:57 +00:00 committed by Willy Sudiarto Raharjo
parent 96df268d73
commit 29573f5c95
5 changed files with 25 additions and 11 deletions

View file

@ -3,3 +3,7 @@ with an emphasis on ease of use, learn as you go, and beautiful output.
SOFA lets you display results in an attractive format ready to share. And SOFA
will help you learn as you go.
Optional packages to install can be:
- psycopg2, to support reading data from PostgreSQL databases
- MySQL-python, to support reading data from MySQL databases

View file

@ -0,0 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -23,14 +23,9 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# -----------------------------------------------------------------------------
#
# Build history:
#
# 1 - Initial release.
# 2 - Updated for version 1.4.3
PRGNAM=sofastats
VERSION=${VERSION:-1.4.3}
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,17 +52,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin $PKG/usr/share/applications
cp -r sofa_main/* $PKG/usr/share/$PRGNAM
ln -sf /usr/share/$PRGNAM/start.py $PKG/usr/bin/$PRGNAM
install -m0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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}

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Exec=python /usr/share/sofastats/start.py
GenericName=Analysis package
Icon=/usr/share/sofastats/images/sofastats_48.xpm
Name=SOFA Statistics
StartupNotify=true
Terminal=false
Type=Application

View file

@ -1,10 +1,10 @@
PRGNAM="sofastats"
VERSION="1.4.3"
VERSION="1.4.6"
HOMEPAGE="http://www.sofastatistics.com"
DOWNLOAD="https://sourceforge.net/projects/sofastatistics/files/sofastatistics/1.4.3/sofastats-1.4.3.tar.gz"
MD5SUM="74e8b118152dec77bdc3ff327aa9e158"
DOWNLOAD="http://sourceforge.net/projects/sofastatistics/files/sofastatistics/1.4.6/sofastats-1.4.6.tar.gz"
MD5SUM="c39880daebead5247b78b6550cb4e2c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="matplotlib pywebkitgtk"
REQUIRES="matplotlib pywebkitgtk wkhtmltopdf python-requests pyPdf"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"