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
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
3 additions and
4 deletions
-
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 |
|
|
|
|
|
|
|