aboutsummaryrefslogtreecommitdiff
path: root/desktop/find-cursor/find-cursor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/find-cursor/find-cursor.SlackBuild')
-rw-r--r--desktop/find-cursor/find-cursor.SlackBuild12
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 \