aboutsummaryrefslogtreecommitdiff
path: root/python/python3-text-unidecode/python3-text-unidecode.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-22 19:15:09 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:00:03 +0700
commit0d97874e6bdf859039d12975e0faf7d4474c1d1f (patch)
treeebe34c3afd114f4b736e09b085d0f915f9001811 /python/python3-text-unidecode/python3-text-unidecode.SlackBuild
parent6c22213ff1dcaa0121c2b5487ed1b6d905250f03 (diff)
python/python3-text-unidecode: Correct email and clean up SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-text-unidecode/python3-text-unidecode.SlackBuild')
-rw-r--r--python/python3-text-unidecode/python3-text-unidecode.SlackBuild18
1 files changed, 2 insertions, 16 deletions
diff --git a/python/python3-text-unidecode/python3-text-unidecode.SlackBuild b/python/python3-text-unidecode/python3-text-unidecode.SlackBuild
index bf972ac210..dbedd2bba9 100644
--- a/python/python3-text-unidecode/python3-text-unidecode.SlackBuild
+++ b/python/python3-text-unidecode/python3-text-unidecode.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for python3-text-unidecode
# Copyright 2023 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +26,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-text-unidecode
+SRCNAM=text-unidecode
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=text-unidecode
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -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