summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/grace/grace.SlackBuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild
index 520a94b23c..65c6d8c12d 100644
--- a/academic/grace/grace.SlackBuild
+++ b/academic/grace/grace.SlackBuild
@@ -70,12 +70,8 @@ make DESTDIR=$PKG install
# Set up the links for /usr/bin, /usr/include, and /usr/lib
make DESTDIR=$PKG install links
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | \
- cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | \
- cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Fix hardcoding of /usr/lib in the "links" target
if [ "$ARCH" = "x86_64" ]; then
@@ -99,15 +95,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
)
# We're going to leave the man pages where they are, since grace (might|does)
-# look for them in its docs dir, but we also want users to be able to find
-# them. Since grace might still use them directly, we're going to leave
-# them uncompressed. Don't fuss - disk space is cheap :-)
-mkdir -p $PKG/usr/man/man1
-( cd $PKG/usr/man/man1
- for i in convcal grace grconvert ; do
- ln -s ../../lib${LIBDIRSUFFIX}/xmgrace/doc/${i}.1 . ;
- done
-)
+# look for them in its docs dir. Since grace might still use them directly,
+# we're going to leave them uncompressed. Don't fuss - disk space is cheap :-)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc