mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
office/sofastats: Updated for version 1.4.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
96df268d73
commit
29573f5c95
5 changed files with 25 additions and 11 deletions
|
@ -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
|
||||
|
|
4
office/sofastats/doinst.sh
Normal file
4
office/sofastats/doinst.sh
Normal 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
|
||||
|
|
@ -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}
|
||||
|
|
8
office/sofastats/sofastats.desktop
Normal file
8
office/sofastats/sofastats.desktop
Normal 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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue