diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-15 17:11:53 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:27 +0700 |
commit | bf6e417da428e72f18221eb6982f2d05cfa64edc (patch) | |
tree | 91bea31d5ae6552e58d983f980238edad354b931 /academic/pyfits | |
parent | 316f758297ae8591b46ac75800af760020fb32d6 (diff) |
academic/pyfits: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pyfits')
-rw-r--r-- | academic/pyfits/pyfits.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/academic/pyfits/pyfits.SlackBuild b/academic/pyfits/pyfits.SlackBuild index 1fcd26b288fc1..3aea3179573f6 100644 --- a/academic/pyfits/pyfits.SlackBuild +++ b/academic/pyfits/pyfits.SlackBuild @@ -30,7 +30,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then fi TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$PRGNAM} +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -e @@ -48,7 +48,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root $PKG +python2 setup.py install --root $PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |