diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-04 14:45:03 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | 85cde4df65d09364b5227acd6fbb557df398ff31 (patch) | |
tree | dc84ff0f76bbc602f0602f7580b459c5f2dbbe3f /multimedia/youtube-viewer/youtube-viewer.SlackBuild | |
parent | d9debbc4bccd1e13b8ef9d41e1e60939cab413fc (diff) | |
download | slackbuilds-85cde4df65d09364b5227acd6fbb557df398ff31.tar.gz |
multimedia/youtube-viewer: Updated for version 3.2.3.
Diffstat (limited to 'multimedia/youtube-viewer/youtube-viewer.SlackBuild')
-rw-r--r-- | multimedia/youtube-viewer/youtube-viewer.SlackBuild | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild index 124359121c..527d8539ca 100644 --- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild +++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild @@ -6,6 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20160804 bkw: +# - updated for 3.2.3. +# - ARCH=noarch, there is no compiled code here, only perl scripts. +# - mention perl-Term-ReadLine-Gnu optional dep in README. In case +# you wonder about the other optional dep, Unicode::GCString, +# it's an either-or with perl-Text-CharWidth. No need to install both, +# and SBo doesn't have a perl-Unicode-GCString build anyway. + # 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 @@ -22,37 +30,15 @@ # - Added support for gtk-youtube-viewer PRGNAM=youtube-viewer -VERSION=${VERSION:-3.1.4} +VERSION=${VERSION:-3.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |