summaryrefslogtreecommitdiff
path: root/system/autocutsel/autocutsel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/autocutsel/autocutsel.SlackBuild')
-rw-r--r--system/autocutsel/autocutsel.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/autocutsel/autocutsel.SlackBuild b/system/autocutsel/autocutsel.SlackBuild
index 8ee9ab894b..d9beb0a57f 100644
--- a/system/autocutsel/autocutsel.SlackBuild
+++ b/system/autocutsel/autocutsel.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
# Slackware build script for autocutsel
-# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
-# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2011 Grigorios Bouzakis <email removed>
+# Copyright 2014-2016 Willy Sudiarto Raharjo <email removed>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson <yalhcru@gmail.com>
+
PRGNAM=autocutsel
VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
@@ -80,15 +82,13 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+# man pages seem to be from Debian, slightly modified (trailing spaces removed)
mkdir -p $PKG/usr/man/man1
-cp $CWD/{autocutsel,cutsel}.1 $PKG/usr/man/man1
-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
-
-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
+for i in $PRGNAM cutsel; do
+ gzip -9c < $CWD/$i.1 > $PKG/usr/man/man1/$i.1.gz
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION