diff options
| author | Philip Lacroix <slackph at posteo dot de> | 2015-09-11 01:44:13 +0700 | 
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-11 01:44:13 +0700 | 
| commit | 27dfaae64fe816c35d7e7d88e25c36e3361a24f5 (patch) | |
| tree | 606ac1f3b7063c2c29239f62f059a6c972bcaf25 /python/py3sensors/py3sensors.SlackBuild | |
| parent | 6010e4cdde3712800abc2181926102f0af08e709 (diff) | |
python/py3sensors: Update EMAIL.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/py3sensors/py3sensors.SlackBuild')
| -rw-r--r-- | python/py3sensors/py3sensors.SlackBuild | 19 | 
1 files changed, 10 insertions, 9 deletions
diff --git a/python/py3sensors/py3sensors.SlackBuild b/python/py3sensors/py3sensors.SlackBuild index cbba493394..0afbd01b28 100644 --- a/python/py3sensors/py3sensors.SlackBuild +++ b/python/py3sensors/py3sensors.SlackBuild @@ -1,8 +1,8 @@  #!/bin/sh -# Slackware build script for Py3sensors +# Slackware build script for py3sensors -# Copyright 2015 Philip Lacroix <philnx at posteo dot de> +# Copyright 2015 Philip Lacroix <slackph at posteo dot de>  # All rights reserved.  #  # Redistribution and use of this script, with or without modification, is @@ -48,8 +48,8 @@ mkdir -p $TMP $PKG $OUTPUT  cd $TMP  rm -rf $SRCNAM-$VERSION -# The upstream tarball will be named differently, depending on the file being -# downloaded manually (web browser) or with wget. +# The upstream tarball will be named differently, depending on +# the file being downloaded manually (web browser) or with wget.  if [ -e $CWD/$VERSION.zip ]; then    unzip $CWD/$VERSION.zip  else @@ -64,9 +64,6 @@ find -L . \   \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \    -o -perm 400 \) -exec chmod 644 {} \; -PRGUSR=$PKG/usr -PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION -  python setup.py install --root=$PKG  # Python 3 support. @@ -74,9 +71,13 @@ if $(python3 -c 'import sys' 2>/dev/null); then    python3 setup.py install --root=$PKG  fi -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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" \ +  | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +PRGUSR=$PKG/usr +PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +# Install documentation.  mkdir -p $PRGDOC  mv README.rst $PRGDOC/  cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild  | 
