summaryrefslogtreecommitdiff
path: root/office/sofastats/sofastats.SlackBuild
diff options
context:
space:
mode:
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}