summaryrefslogtreecommitdiffstats
path: root/desktop/grun/grun.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/grun/grun.SlackBuild')
-rw-r--r--desktop/grun/grun.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/desktop/grun/grun.SlackBuild b/desktop/grun/grun.SlackBuild
index 4789644213..ebf71f8e20 100644
--- a/desktop/grun/grun.SlackBuild
+++ b/desktop/grun/grun.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=grun
VERSION=${VERSION:-0.9.3}
-SRCNAM=$(echo $VERSION | tr . _)
+SRCNAM=${VERSION//./_}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,8 +80,8 @@ find -L . \
-exec chmod 644 {} \;
autoreconf -fiv
+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -98,9 +98,7 @@ mv $PKG/etc/consfile $PKG/etc/consfile.new
mv $PKG/etc/gassoc $PKG/etc/gassoc.new
gzip -9 $PKG/usr/man/man?/*.?x
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \