summaryrefslogtreecommitdiff
path: root/desktop/grun
diff options
context:
space:
mode:
authorDavid Woodfall <dave@slackbuilds.org>2022-02-19 05:30:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:37 +0700
commit20cd93fc1eaee280a7c887bc8be7e994d8734a20 (patch)
treecc78eea8b4daaed35cb92285fc7d1e78e52ff2eb /desktop/grun
parent410ce7cf8c19b256c059842375ee9c8b7e1a5e5d (diff)
downloadslackbuilds-20cd93fc1eaee280a7c887bc8be7e994d8734a20.tar.gz
desktop/grun: Cleanup SlackBuild.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/grun')
-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 \