diff options
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 |
commit | 8a7af6d6aa67e223095c78f9696b0f13714b97b2 (patch) | |
tree | 6322888f30e590dbdbe59f92914a1bfcba21eee7 /desktop/find-cursor/find-cursor.SlackBuild | |
parent | de70d3e2192bc6e425ac167e87ce9bc0457584bb (diff) |
desktop/find-cursor: Updated for version 1.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/find-cursor/find-cursor.SlackBuild')
-rw-r--r-- | desktop/find-cursor/find-cursor.SlackBuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/desktop/find-cursor/find-cursor.SlackBuild b/desktop/find-cursor/find-cursor.SlackBuild index 4b10c8e83329..5cc415202dc2 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 \ |