diff options
Diffstat (limited to 'academic/xflr5')
-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 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} |