aboutsummaryrefslogtreecommitdiff
path: root/multimedia/minitube
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-07-02 21:47:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:47:30 +0700
commit2eeb762bc597096123a40234a473b43df9506452 (patch)
tree9524345f2cc6084b67064e7d045dbb59bd10467d /multimedia/minitube
parent1c6ab88cec5477bcbdb7c9871ee1f15ccd1dab0a (diff)
multimedia/minitube: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/minitube')
-rw-r--r--multimedia/minitube/minitube.SlackBuild12
-rw-r--r--multimedia/minitube/minitube.info2
2 files changed, 5 insertions, 9 deletions
diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild
index d0b90056f518..115089f4866b 100644
--- a/multimedia/minitube/minitube.SlackBuild
+++ b/multimedia/minitube/minitube.SlackBuild
@@ -53,16 +53,12 @@ OUTPUT=${OUTPUT:-/tmp}
# 20220320 bkw: we need -fPIC even for 32-bit.
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fPIC"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fPIC"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -75,10 +71,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \+
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# fix for mpv >= 0.35, thanks to Chris Willing
sed -i -e '/mpv_opengl_init_params/ s/, nullptr};/};/' \
diff --git a/multimedia/minitube/minitube.info b/multimedia/minitube/minitube.info
index 91dd1670e246..3c1af2e38208 100644
--- a/multimedia/minitube/minitube.info
+++ b/multimedia/minitube/minitube.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mpv"
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds at schoepfer dot info"
+EMAIL="slackbuilds@schoepfer.info"