aboutsummaryrefslogtreecommitdiff
path: root/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-07-14 14:26:58 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-15 10:34:35 +0700
commitef6aa78953f8b01b80fde1c892063be98f57b523 (patch)
tree823ce282be62bf1bcb1172dbd4201f9923088603 /python/python3-whatthepatch/python3-whatthepatch.SlackBuild
parent8d74affa821534b8ba232a06cb472a13c2033516 (diff)
python/python3-whatthepatch: Update for 1.0.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-whatthepatch/python3-whatthepatch.SlackBuild')
-rw-r--r--python/python3-whatthepatch/python3-whatthepatch.SlackBuild18
1 files changed, 2 insertions, 16 deletions
diff --git a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
index 7310c7a557..c488214131 100644
--- a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
+++ b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-whatthepatch
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -88,7 +74,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 -a CODE_OF_CONDUCT.md HISTORY.md LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODE_OF_CONDUCT.md HISTORY.md README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install