diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-10-05 02:07:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-05 02:14:28 +0700 |
commit | ee00f15a27574dc4ce1c05c50cafda045e13b701 (patch) | |
tree | a808443e123535e7c9a20c2279e179428d8d4309 /python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild | |
parent | c83e4b2cc05be4a3688678cd50781ed9333acaf0 (diff) |
python/sphinx-last-updated-by-git: Updated for version 0.3.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild')
-rw-r--r-- | python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild index 587c0bef6f..467ccff16a 100644 --- a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild +++ b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sphinx-last-updated-by-git -# Copyright 2022-2023 Vijay Marcel +# Copyright 2022-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinx-last-updated-by-git -VERSION=${VERSION:-0.3.5} +VERSION=${VERSION:-0.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,13 +63,13 @@ 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 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -av LICENSE NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ |