diff --git a/desktop/rofi/rofi.SlackBuild b/desktop/rofi/rofi.SlackBuild index b44710cb8b..7e0c184f49 100644 --- a/desktop/rofi/rofi.SlackBuild +++ b/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