aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-22 19:21:32 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:00:04 +0700
commit68b86cbf8fbb05a6a5e30448dc869f9b7fb9e34e (patch)
tree84e7da09d35dbb0ff7af55097cdd85ec02339260
parent1b916b008597c97c623132109bee81de0c0cbb6f (diff)
python/send2trash: Correct email and clean up SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/send2trash/send2trash.SlackBuild17
-rw-r--r--python/send2trash/send2trash.info2
2 files changed, 1 insertions, 18 deletions
diff --git a/python/send2trash/send2trash.SlackBuild b/python/send2trash/send2trash.SlackBuild
index 20546854cc3aa..6b827c34a35ab 100644
--- a/python/send2trash/send2trash.SlackBuild
+++ b/python/send2trash/send2trash.SlackBuild
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,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
diff --git a/python/send2trash/send2trash.info b/python/send2trash/send2trash.info
index 35a6d023300bb..cf9cf79083546 100644
--- a/python/send2trash/send2trash.info
+++ b/python/send2trash/send2trash.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-wheel"
MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBp@gmail.com"
+EMAIL="jebrhansen+SBo@gmail.com"