diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-12 19:56:51 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-17 23:45:53 +0700 |
commit | b28046b6c8f7cfff3d549d5e2fcbc9b94d9e2fa6 (patch) | |
tree | 67f30f27727591f839bdb360a67ac615f5b2af63 /multimedia/youtube-viewer/youtube-viewer.SlackBuild | |
parent | 892f2139a6fbd8a398d5b9b1f82de5293349f269 (diff) |
multimedia/youtube-viewer: Updated for version 3.1.4.
Diffstat (limited to 'multimedia/youtube-viewer/youtube-viewer.SlackBuild')
-rw-r--r-- | multimedia/youtube-viewer/youtube-viewer.SlackBuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild index 6d44c0c562b6e..124359121c105 100644 --- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild +++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild @@ -6,6 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20150309 bkw: Updated for 3.1.4 release. +# Quite a bit of changes under the hood for what's supposed to be +# a point release: upstream dropped the XML::Fast dep and added +# JSON::XS. + # 20150309 bkw: Updated for 3.1.2 release # 20140806 bkw: @@ -17,7 +22,7 @@ # - Added support for gtk-youtube-viewer PRGNAM=youtube-viewer -VERSION=${VERSION:-3.1.2} +VERSION=${VERSION:-3.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,14 +55,12 @@ fi set -e -DIRNAME=WWW-YoutubeViewer - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION/$DIRNAME +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 \) \ @@ -65,9 +68,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# no need for +x on this -chmod -x share/*.desktop - # 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. GTK="${GTK:-auto}" @@ -116,8 +116,13 @@ find $PKG -name perllocal.pod \ find $PKG -depth -type d -empty -delete || true +# the permissions in the final package are weird. +find $PKG -type f -print0 | xargs -0 chmod 644 +find $PKG -type d -print0 | xargs -0 chmod 755 +chmod +x $PKG/usr/bin/* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README Changes $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README* Changes $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |