diff options
author | David Woodfall <dave@slackbuilds.org> | 2022-02-19 06:23:31 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 15:12:38 +0700 |
commit | d4db3a8fefc2b051f7de07a1e9c28b33f512db36 (patch) | |
tree | eeb027204534e25b122399db5541a4b8a60acceb /desktop/xonclock/xonclock.SlackBuild | |
parent | 3a8fc0b8c50ebb6014522e798528fecdbc95f5e0 (diff) |
desktop/xonclock: Cleanup SlackBuild.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xonclock/xonclock.SlackBuild')
-rw-r--r-- | desktop/xonclock/xonclock.SlackBuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/desktop/xonclock/xonclock.SlackBuild b/desktop/xonclock/xonclock.SlackBuild index 34a200d529e6..bad622034694 100644 --- a/desktop/xonclock/xonclock.SlackBuild +++ b/desktop/xonclock/xonclock.SlackBuild @@ -92,18 +92,12 @@ LDFLAGS="-lm -lXrender" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG -find $PKG | xargs 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 - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README TODO AUTHORS INSTALL ChangeLog COPYING NEWS THANKS \ +cp -a README AUTHORS COPYING NEWS THANKS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |