diff options
author | John Louis Del Rosario <john2x@gmail.com> | 2020-09-04 11:47:21 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-05 08:26:46 +0700 |
commit | 503f88d151a973087c8a4cbd2e6dd32efbdb5900 (patch) | |
tree | bccbe95dedd1a2b18c28dce98e1db65f67b2f877 /misc/slop/slop.SlackBuild | |
parent | 6c0889dfdf251cd5b23ef1faee1baca51f36b268 (diff) |
misc/slop: Updated for version 7.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/slop/slop.SlackBuild')
-rw-r--r-- | misc/slop/slop.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index 43bbfdfff2ca0..693962d3c0e6e 100644 --- a/misc/slop/slop.SlackBuild +++ b/misc/slop/slop.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slop -VERSION=${VERSION:-7.4} +VERSION=${VERSION:-7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -71,16 +71,15 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cmake ./ - make - make install DESTDIR=$PKG +make +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr +rm -rf $PKG/usr/share 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 -mv $PKG/usr/share/man $PKG/usr/ -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |