mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/autocutsel: Updated for version 0.10.0, new maintainer.
This commit is contained in:
parent
e35d8232be
commit
dbba8ec2d3
2 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue