diff options
Diffstat (limited to 'network/youtube-dl/youtube-dl.SlackBuild')
-rw-r--r-- | network/youtube-dl/youtube-dl.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 161b33d8ec..45581b2947 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=youtube-dl -VERSION=${VERSION:-2021.02.22} +VERSION=${VERSION:-2021.04.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,12 +74,8 @@ find -L . \ # setup.py patch patch -p1 < $CWD/setup.patch -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |