summaryrefslogtreecommitdiff
path: root/system/autocutsel
diff options
context:
space:
mode:
Diffstat (limited to 'system/autocutsel')
-rw-r--r--system/autocutsel/autocutsel.SlackBuild18
-rw-r--r--system/autocutsel/autocutsel.info4
2 files changed, 11 insertions, 11 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
diff --git a/system/autocutsel/autocutsel.info b/system/autocutsel/autocutsel.info
index 85c4b88e97..e795961444 100644
--- a/system/autocutsel/autocutsel.info
+++ b/system/autocutsel/autocutsel.info
@@ -6,5 +6,5 @@ MD5SUM="7d5b96e5f7b79b883d8350f104043366"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"