multimedia/HandBrake: Strip ghb binary.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-31 13:19:05 -04:00 committed by Willy Sudiarto Raharjo
parent 85b88fada3
commit 4a14e88342
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -11,7 +11,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=HandBrake
VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
DOCDIR=${DOCDIR:-/usr/doc}
@ -48,8 +48,6 @@ else
fi
SLKCFLAGS="$SLKCFLAGS -fno-aggressive-loop-optimizations"
saved_CFLAGS="$CFLAGS"
saved_CXXFLAGS="$CFLAGS"
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
@ -94,10 +92,9 @@ CXXFLAGS="$SLKCFLAGS" \
cd build
make
make install DESTDIR=$PKG
cd $TMP/$PRGNAM-$VERSION
strip $PKG/usr/bin/*
export CFLAGS="$saved_CFLAGS"
export CXXFLAGS="$saved_CXXFLAGS"
cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION
cp -a AUTHORS.markdown COPYING NEWS.markdown THANKS.markdown README.markdown \