diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-03-05 21:13:16 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-10 07:11:01 +0700 |
commit | 65d940ffc79bcffd399ac482e8020ee148c59efa (patch) | |
tree | 0c358fc79ab6d4db38b61b84e8941760521d7878 /academic | |
parent | 696d1fbd7bfb06cefc8fa0755dd888de1adf885a (diff) |
academic/xflr5: Fix slack-desc, add doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/xflr5/doinst.sh | 9 | ||||
-rw-r--r-- | academic/xflr5/slack-desc | 2 | ||||
-rw-r--r-- | academic/xflr5/xflr5.SlackBuild | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/academic/xflr5/doinst.sh b/academic/xflr5/doinst.sh new file mode 100644 index 000000000000..65c7e2eeb9aa --- /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 7b47a24bb4a7..30305a75552f 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 660cb015eea0..85e09e46e96b 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} |