diff options
author | B. Watson <yalhcru@gmail.com> | 2014-03-17 08:11:34 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-21 13:01:18 -0500 |
commit | 6dc058fb86d2758d82f103f9593194403dba9aa6 (patch) | |
tree | 1fb0b04b4be868f5461487455dd2706a878406cb /network/yturl | |
parent | 9f24b65f08bad1b115f34c0509d0cefc4840b9e0 (diff) | |
download | slackbuilds-6dc058fb86d2758d82f103f9593194403dba9aa6.tar.gz |
network/yturl: Updated for version 1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yturl')
-rw-r--r-- | network/yturl/yturl.1 | 36 | ||||
-rw-r--r-- | network/yturl/yturl.SlackBuild | 17 | ||||
-rw-r--r-- | network/yturl/yturl.info | 6 | ||||
-rw-r--r-- | network/yturl/yturl.pod | 6 |
4 files changed, 35 insertions, 30 deletions
diff --git a/network/yturl/yturl.1 b/network/yturl/yturl.1 index d2a34559bd..a0dde51016 100644 --- a/network/yturl/yturl.1 +++ b/network/yturl/yturl.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.20) +.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== @@ -38,6 +38,8 @@ . ds PI \(*p . ds L" `` . ds R" '' +. ds C` +. ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. @@ -48,17 +50,24 @@ .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX .. -. nr % 0 -. rr F -.\} -.el \{\ -. de IX +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{ +. if \nF \{ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. +. if !\nF==2 \{ +. nr % 0 +. nr F 2 +. \} +. \} .\} +.rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. @@ -124,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "YTURL 1" -.TH YTURL 1 "2013-06-18" "20130618" "SlackBuilds.org" +.TH YTURL 1 "2014-03-16" "1.16" "SlackBuilds.org" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -135,16 +144,13 @@ yturl \- Get direct URLs to YouTube videos. .IX Header "SYNOPSIS" yturl [\-h] [\-q \s-1QUALITY\s0] [\-\-3d] videoID/url .PP -videoID/url is a YouTube url or bare video \s-1ID\s0. +videoID/url is a YouTube url or bare video \s-1ID.\s0 .SH "OPTIONS" .IX Header "OPTIONS" .IP "\-h, \-\-help" 4 .IX Item "-h, --help" show this help message and exit -.IP "\-q \s-1QUALITY\s0, \-\-quality \s-1QUALITY\s0" 4 +.IP "\-q \s-1QUALITY,\s0 \-\-quality \s-1QUALITY\s0" 4 .IX Item "-q QUALITY, --quality QUALITY" specify quality, can be \*(L"low\*(R", \*(L"medium\*(R", \*(L"high\*(R", or an itag (see http://goo.gl/uEIuR) -.IP "\-\-3d" 4 -.IX Item "--3d" -Return 3D video only diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild index 41e7c8b025..93b803eef8 100644 --- a/network/yturl/yturl.SlackBuild +++ b/network/yturl/yturl.SlackBuild @@ -6,11 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# Download file originally came from github, like so: -# wget -O yturl-master-$(date +%Y%m%d).zip https://github.com/cdown/yturl/archive/master.zip +# 20140316 bkw: +# Updated to 1.16 release, use tar.gz instead of zip file. From now on +# I'll track the releases instead of just grabbing current git... unless +# youtube API changes break the release and upstream takes a long time to +# make a new release. PRGNAM=yturl -VERSION=${VERSION:-20130618} +VERSION=${VERSION:-1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,14 +46,12 @@ fi set -e -ZIPNAME=$PRGNAM-master - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $ZIPNAME -unzip $CWD/$ZIPNAME-$VERSION.zip -cd $ZIPNAME +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.gz || 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 \) \ diff --git a/network/yturl/yturl.info b/network/yturl/yturl.info index c6d0c8b700..260ef5c124 100644 --- a/network/yturl/yturl.info +++ b/network/yturl/yturl.info @@ -1,9 +1,9 @@ PRGNAM="yturl" -VERSION="20130618" +VERSION="1.16" HOMEPAGE="https://github.com/cdown/yturl" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/yturl-master-20130618.zip" +DOWNLOAD="https://github.com/cdown/yturl/archive/v1.16.tar.gz" DOWNLOAD_x86_64="" -MD5SUM="a9062ed7802d0c91546f6aa42a2fd89e" +MD5SUM="4c178cf078d6a8470dfaa2dc8d77512e" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" diff --git a/network/yturl/yturl.pod b/network/yturl/yturl.pod index 0b457dd24c..d182a0df86 100644 --- a/network/yturl/yturl.pod +++ b/network/yturl/yturl.pod @@ -1,5 +1,5 @@ # POD source for yturl man page. Convert with: -# pod2man --stderr -s1 -cSlackBuilds.org -r20130618 yturl.pod > yturl.1 +# pod2man --stderr -s1 -cSlackBuilds.org -r1.16 yturl.pod > yturl.1 =pod @@ -26,8 +26,6 @@ show this help message and exit specify quality, can be "low", "medium", "high", or an itag (see http://goo.gl/uEIuR) -=item --3d - -Return 3D video only +=back =cut |