aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x265/x265.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-20 16:55:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:06 +0700
commit9fbe6e6afbb851a7f1cedafb43b1774bbb6da3c7 (patch)
tree4b8f25882708273cdf0d466c043fd074a3a02929 /multimedia/x265/x265.SlackBuild
parent9dbf166001fc13cee109fd92b7b8abde1b6ffab6 (diff)
multimedia/x265: Switch to github mirror.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/x265/x265.SlackBuild')
-rw-r--r--multimedia/x265/x265.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild
index 52fcef6a76506..e891d6335424b 100644
--- a/multimedia/x265/x265.SlackBuild
+++ b/multimedia/x265/x265.SlackBuild
@@ -24,7 +24,6 @@
PRGNAM=x265
VERSION=${VERSION:-3.4}
-SRCNAM=2a65b7209850
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf multicoreware-$PRGNAM-$SRCNAM
-tar xvf $CWD/$VERSION.tar.bz2 || tar xvf $CWD/multicoreware-$PRGNAM-$SRCNAM.tar.bz2
-cd multicoreware-$PRGNAM-$SRCNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \