summaryrefslogtreecommitdiffstats
path: root/libraries/fltk2/fltk2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk2/fltk2.SlackBuild')
-rw-r--r--libraries/fltk2/fltk2.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/fltk2/fltk2.SlackBuild b/libraries/fltk2/fltk2.SlackBuild
index 1b75ed82c8..b943ddea0c 100644
--- a/libraries/fltk2/fltk2.SlackBuild
+++ b/libraries/fltk2/fltk2.SlackBuild
@@ -2,12 +2,12 @@
# Slackware build script for fltk, version 2
+# The script is based on the build script for FLTK, version 1, by LukenShiro.
+# The script has been fixed by the SlackBuilds.org team.
+
# Copyright 2009-2010 Mikhail Zotov <mikhail dot ru@gmail dot com>
# All rights reserved.
#
-# The script is based on the build script for FLTK, version 1, by LukenShiro.
-# The script has been fixed by Robby Workman.
-#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -79,12 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# No manpages are installed
rm -rf $PKG/usr/man