diff options
author | Brenton Earl | 2018-03-19 21:55:07 +0100 |
---|---|---|
committer | David Spencer | 2018-03-19 21:55:07 +0100 |
commit | 2342bc51e1239b717a9e9bc899d68f0b451e82a7 (patch) | |
tree | 5e5275aef031e739a35f573083de8f5d2a1c89fc /python/pyperclip/pyperclip.SlackBuild | |
parent | d86134cae1ae77d575dc75f0141aa17f3b3b8420 (diff) | |
download | slackbuilds-2342bc51e1239b717a9e9bc899d68f0b451e82a7.tar.gz |
python/pyperclip: Updated for version 1.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/pyperclip/pyperclip.SlackBuild')
-rw-r--r-- | python/pyperclip/pyperclip.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/python/pyperclip/pyperclip.SlackBuild b/python/pyperclip/pyperclip.SlackBuild index 13e9bf3f34..d4f5d51e83 100644 --- a/python/pyperclip/pyperclip.SlackBuild +++ b/python/pyperclip/pyperclip.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyperclip -# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> +# Copyright 2015-2016, 2018 Brenton Earl <brent@exitstatusone.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,12 +21,10 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Maintainer Notes: -# PDF Documentation downloaded from pyperclip.readthedocs.org 12/1/2015 PRGNAM=pyperclip -VERSION=${VERSION:-1.5.27} +VERSION=${VERSION:-1.6.0} +SRCVERSION=${SRCVERSION:-2f11f6302492e2dfc6b1a91eb9d5c0a6b68a71d5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,7 +81,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp $CWD/pyperclip-1.5-doc.pdf PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS* CHANGES* LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |