summaryrefslogtreecommitdiffstats
path: root/office/sofastats/sofastats.SlackBuild
diff options
context:
space:
mode:
author Alan Alberghini2018-01-04 00:45:57 +0100
committer Willy Sudiarto Raharjo2018-01-06 00:55:27 +0100
commit29573f5c95fa70f5c1e97868dfc4904972ddaa70 (patch)
treef0d68fae06f2d94ebada0eb3f380ef89725727ce /office/sofastats/sofastats.SlackBuild
parent96df268d737bdaf0fc9c1c2da6b9b280db974374 (diff)
downloadslackbuilds-29573f5c95fa70f5c1e97868dfc4904972ddaa70.tar.gz
office/sofastats: Updated for version 1.4.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/sofastats/sofastats.SlackBuild')
-rw-r--r--office/sofastats/sofastats.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/office/sofastats/sofastats.SlackBuild b/office/sofastats/sofastats.SlackBuild
index cc198a923f..5da8062475 100644
--- a/office/sofastats/sofastats.SlackBuild
+++ b/office/sofastats/sofastats.SlackBuild
@@ -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}