summaryrefslogtreecommitdiff
path: root/academic/xflr5
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-03-05 21:13:16 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:01 +0700
commit65d940ffc79bcffd399ac482e8020ee148c59efa (patch)
tree0c358fc79ab6d4db38b61b84e8941760521d7878 /academic/xflr5
parent696d1fbd7bfb06cefc8fa0755dd888de1adf885a (diff)
downloadslackbuilds-65d940ffc79bcffd399ac482e8020ee148c59efa.tar.gz
academic/xflr5: Fix slack-desc, add doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/xflr5')
-rw-r--r--academic/xflr5/doinst.sh9
-rw-r--r--academic/xflr5/slack-desc2
-rw-r--r--academic/xflr5/xflr5.SlackBuild1
3 files changed, 11 insertions, 1 deletions
diff --git a/academic/xflr5/doinst.sh b/academic/xflr5/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/academic/xflr5/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/academic/xflr5/slack-desc b/academic/xflr5/slack-desc
index 7b47a24bb4..30305a7555 100644
--- a/academic/xflr5/slack-desc
+++ b/academic/xflr5/slack-desc
@@ -9,7 +9,7 @@
xflr5: xflr5 (analysis tool for airfoils, wings, and planes)
xflr5:
xflr5: XFLR5 is an analysis tool for airfoils, wings, and planes operating at
-xflr5 low Reynolds numbers. It includes:
+xflr5: low Reynolds numbers. It includes:
xflr5:
xflr5: 1. XFoil's Direct and Inverse analysis capabilities
xflr5: 2. Wing design and analysis capabilities based on Lifting Line theory,
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 660cb015ee..85e09e46e9 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -101,6 +101,7 @@ 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}