aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Louis Del Rosario <john2x@gmail.com>2020-09-04 11:47:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:46 +0700
commit503f88d151a973087c8a4cbd2e6dd32efbdb5900 (patch)
treebccbe95dedd1a2b18c28dce98e1db65f67b2f877
parent6c0889dfdf251cd5b23ef1faee1baca51f36b268 (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>
-rw-r--r--misc/slop/slack-desc4
-rw-r--r--misc/slop/slop.SlackBuild15
-rw-r--r--misc/slop/slop.info6
3 files changed, 12 insertions, 13 deletions
diff --git a/misc/slop/slack-desc b/misc/slop/slack-desc
index fa52a345e4419..1daa3f13f995b 100644
--- a/misc/slop/slack-desc
+++ b/misc/slop/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
slop: slop (selection query)
slop:
-slop:
slop: slop (Select Operation) is an application that
slop: queries for a selection from the user
slop: and prints the region to stdout.
slop:
-slop:
slop: https://github.com/naelstrof/slop
slop:
slop:
+slop:
+slop:
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
diff --git a/misc/slop/slop.info b/misc/slop/slop.info
index 570065b473b5e..ea090f1564624 100644
--- a/misc/slop/slop.info
+++ b/misc/slop/slop.info
@@ -1,8 +1,8 @@
PRGNAM="slop"
-VERSION="7.4"
+VERSION="7.5"
HOMEPAGE="https://github.com/naelstrof/slop"
-DOWNLOAD="https://github.com/naelstrof/slop/archive/v7.4/slop-7.4.tar.gz"
-MD5SUM="cdf2369c033778a90c7518e357b5a92a"
+DOWNLOAD="https://github.com/naelstrof/slop/archive/v7.5/slop-7.5.tar.gz"
+MD5SUM="d8ba3c332f801f19c2bd66014d79e988"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="glm"