summaryrefslogtreecommitdiffstats
path: root/desktop/find-cursor
diff options
context:
space:
mode:
author Markus Rinne <markus.ka.rinne@gmail.com>2021-05-16 20:22:17 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-17 08:56:11 +0700
commit8a7af6d6aa67e223095c78f9696b0f13714b97b2 (patch)
tree6322888f30e590dbdbe59f92914a1bfcba21eee7 /desktop/find-cursor
parentde70d3e2192bc6e425ac167e87ce9bc0457584bb (diff)
downloadslackbuilds-8a7af6d6aa67e223095c78f9696b0f13714b97b2.tar.gz
slackbuilds-8a7af6d6aa67e223095c78f9696b0f13714b97b2.tar.xz
desktop/find-cursor: Updated for version 1.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/find-cursor')
-rw-r--r--desktop/find-cursor/find-cursor.SlackBuild12
-rw-r--r--desktop/find-cursor/find-cursor.info6
2 files changed, 5 insertions, 13 deletions
diff --git a/desktop/find-cursor/find-cursor.SlackBuild b/desktop/find-cursor/find-cursor.SlackBuild
index 4b10c8e833..5cc415202d 100644
--- a/desktop/find-cursor/find-cursor.SlackBuild
+++ b/desktop/find-cursor/find-cursor.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=find-cursor
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,19 +70,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
-
-# 'make install' assumes a git repository, so install manually instead.
-install -Dm755 find-cursor $PKG/usr/bin/find-cursor
-mkdir -p $PKG/usr/man/man1
-sed "s/VERSION/$VERSION/g" < find-cursor.1 > $PKG/usr/man/man1/find-cursor.1
-chmod 644 $PKG/usr/man/man1/find-cursor.1
+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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.markdown \
diff --git a/desktop/find-cursor/find-cursor.info b/desktop/find-cursor/find-cursor.info
index 6955968536..e945da879d 100644
--- a/desktop/find-cursor/find-cursor.info
+++ b/desktop/find-cursor/find-cursor.info
@@ -1,8 +1,8 @@
PRGNAM="find-cursor"
-VERSION="1.6"
+VERSION="1.7"
HOMEPAGE="https://github.com/arp242/find-cursor"
-DOWNLOAD="https://github.com/arp242/find-cursor/archive/v1.6/find-cursor-1.6.tar.gz"
-MD5SUM="54e27d152150dcd2eced9ebf4669c40d"
+DOWNLOAD="https://github.com/arp242/find-cursor/archive/v1.7/find-cursor-1.7.tar.gz"
+MD5SUM="b46c9a1812f3abe3639a9bfafe75fcc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""