[arch-commits] Commit in youtube-viewer/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Jun 28 17:27:37 UTC 2016
Date: Tuesday, June 28, 2016 @ 17:27:36
Author: arodseth
Revision: 181527
upgpkg: youtube-viewer 1:3.2.2-1
Modified:
youtube-viewer/trunk/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-06-28 17:22:50 UTC (rev 181526)
+++ PKGBUILD 2016-06-28 17:27:36 UTC (rev 181527)
@@ -1,43 +1,44 @@
#$Id$
-# Maintainer:
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
# Contributor: Daniel Wallace < danielwallace at gtmanfred dot com>
# Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
pkgname=youtube-viewer
epoch=1
-pkgver=3.2.1
+pkgver=3.2.2
pkgrel=1
-pkgdesc="A command line utility for viewing youtube-videos in MPlayer."
+pkgdesc='Command line utility for viewing YouTube videos'
arch=('any')
-url="https://github.com/trizen/youtube-viewer"
+url='https://github.com/trizen/youtube-viewer'
license=('GPL3')
source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('13fc160b30eb35407a531447b5c86dbc2a31e5c4d92c6e50e2cb823fa1119cd8')
-
+sha256sums=('f70f4a634548a295b5479ce4cf616bcc7375af6dfe31c21a7c18e0903f366632')
depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
-optdepends=('vlc: for playing videos'
- 'mplayer: for playing videos'
- 'perl-term-readkey: to get the terminal width size'
- 'perl-term-readline-gnu: for a better STDIN support'
- 'perl-lwp-protocol-https: for login and https support'
- 'gcap: for retrieving Youtube closed captions. [in AUR]')
+optdepends=(
+ 'perl-json-xs: faster JSON to HASH conversion'
+ 'perl-lwp-useragent-cached: cache support'
+ 'perl-text-charwidth: to print the results in a fixed-width format (-W)'
+ 'perl-term-readline-gnu: for better STDIN support'
+ 'youtube-dl: for playing videos with encrypted signatures'
+ 'wget: for downloading videos with wget'
+ 'mplayer: for playing the videos with MPlayer'
+ 'vlc: for playing the videos with VLC'
+ 'mpv: for playing the videos with MPV (recommended)'
+)
-
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
- perl Makefile.PL INSTALLDIRS=vendor
+ perl Makefile.PL INSTALLDIRS=vendor
}
check(){
- cd $pkgname-$pkgver
-
- make test
+ make -C "$pkgname-$pkgver" test
}
package() {
- cd $pkgname-$pkgver
+ make -C "$pkgname-$pkgver" install DESTDIR="$pkgdir"
+ rm -r "$pkgdir/usr/lib"
+}
- make install DESTDIR=$pkgdir
- rm -r "$pkgdir/usr/lib/"
-}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list