diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-23 08:37:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-23 08:37:49 +0700 |
commit | 9dae9f2a9dd92cbc371f273171c149290a43f222 (patch) | |
tree | 775c5e243d2298d574f21b5757f001ca5d14b546 /system | |
parent | c47669df6e8d2aac5f27a39160cd99998d1ef5a4 (diff) |
system/rush: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/rush/rush.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/system/rush/rush.SlackBuild b/system/rush/rush.SlackBuild index d365a29bf68d9..6057ec82323e6 100644 --- a/system/rush/rush.SlackBuild +++ b/system/rush/rush.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 @@ -90,6 +87,12 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/*.info* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog NEWS README THANKS \ |