Browse Source

desktop/rofi: Fix sbopkglint gripe - strip binary

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/314/head
isaackwy 2 months ago
committed by Willy Sudiarto Raharjo
parent
commit
e4d19f6ce3
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 7
      desktop/rofi/rofi.SlackBuild

7
desktop/rofi/rofi.SlackBuild

@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -93,8 +90,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG PREFIX=/usr
strip --strip-unneeded $PKG/usr/bin/rofi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS Changelog COPYING INSTALL.md README.md \
cp -a AUTHORS Changelog COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

Loading…
Cancel
Save