misc/slop: Updated for version 7.5.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
John Louis Del Rosario 2020-09-04 11:47:21 +01:00 committed by Willy Sudiarto Raharjo
parent 6c0889dfdf
commit 503f88d151
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 12 additions and 13 deletions

View file

@ -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:

View file

@ -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

View file

@ -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"