From 6aaa7ad1e9ad1d725bfa506df4508eea00dddbb7 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Sun, 2 Sep 2018 19:48:12 -0400 Subject: multimedia/youtube-viewer: Updated for version 3.4.1. Signed-off-by: B. Watson --- .../youtube-viewer/youtube-viewer.SlackBuild | 24 ++++++++-------------- multimedia/youtube-viewer/youtube-viewer.info | 6 +++--- 2 files changed, 11 insertions(+), 19 deletions(-) (limited to 'multimedia/youtube-viewer') diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild index 9a12aef229..ab2e8a2afa 100644 --- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild +++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20180902 bkw: updated for 3.4.1. # 20180613 bkw: updated for 3.3.4. # 20180111 bkw: @@ -18,21 +19,15 @@ # youtube-viewer's command history wasn't being saved across sessions. # NOTE TO SELF: remove this patch once 3.3.3 is released. -# 20171219 bkw: -# - updated for 3.3.1. +# 20171219 bkw: updated for 3.3.1. # 20170921 bkw: # - updated for 3.2.9. # - add warning in README about outdated youtube-dl. -# 20170614 bkw: -# - updated for 3.2.8. - -# 20170423 bkw: -# - updated for 3.2.7. - -# 20170324 bkw: -# - updated for 3.2.6. +# 20170614 bkw: updated for 3.2.8. +# 20170423 bkw: updated for 3.2.7. +# 20170324 bkw: updated for 3.2.6. # 20170301 bkw: # - updated for 3.2.5. @@ -66,7 +61,7 @@ # - Added support for gtk-youtube-viewer PRGNAM=youtube-viewer -VERSION=${VERSION:-3.3.4} +VERSION=${VERSION:-3.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch @@ -84,11 +79,8 @@ 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 -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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # perl-gtk2 is a runtime dep, we can build with GTK=yes even if it's not # installed... but don't do that by default. diff --git a/multimedia/youtube-viewer/youtube-viewer.info b/multimedia/youtube-viewer/youtube-viewer.info index 628228829e..ed4c21d348 100644 --- a/multimedia/youtube-viewer/youtube-viewer.info +++ b/multimedia/youtube-viewer/youtube-viewer.info @@ -1,8 +1,8 @@ PRGNAM="youtube-viewer" -VERSION="3.3.4" +VERSION="3.4.1" HOMEPAGE="https://github.com/trizen/youtube-viewer/" -DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.3.4/youtube-viewer-3.3.4.tar.gz" -MD5SUM="718d522be9af41c203e97e9afdbb890e" +DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.4.1/youtube-viewer-3.4.1.tar.gz" +MD5SUM="c22325718da537446ab818298fb41114" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-lwp-useragent-cached perl-JSON perl-JSON-XS perl-Module-Build" -- cgit v1.2.3