[arch-commits] Commit in youtube-viewer/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Jun 28 17:27:44 UTC 2016
Date: Tuesday, June 28, 2016 @ 17:27:44
Author: arodseth
Revision: 181528
archrelease: copy trunk to community-any
Added:
youtube-viewer/repos/community-any/PKGBUILD
(from rev 181527, youtube-viewer/trunk/PKGBUILD)
Deleted:
youtube-viewer/repos/community-any/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-06-28 17:27:36 UTC (rev 181527)
+++ PKGBUILD 2016-06-28 17:27:44 UTC (rev 181528)
@@ -1,43 +0,0 @@
-#$Id$
-# Maintainer:
-# Contributor: Daniel Wallace < danielwallace at gtmanfred dot com>
-# Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
-
-pkgname=youtube-viewer
-epoch=1
-pkgver=3.2.1
-pkgrel=1
-pkgdesc="A command line utility for viewing youtube-videos in MPlayer."
-arch=('any')
-url="https://github.com/trizen/youtube-viewer"
-license=('GPL3')
-source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('13fc160b30eb35407a531447b5c86dbc2a31e5c4d92c6e50e2cb823fa1119cd8')
-
-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]')
-
-
-build() {
- cd $pkgname-$pkgver
-
- perl Makefile.PL INSTALLDIRS=vendor
-}
-
-check(){
- cd $pkgname-$pkgver
-
- make test
-}
-
-package() {
- cd $pkgname-$pkgver
-
- make install DESTDIR=$pkgdir
- rm -r "$pkgdir/usr/lib/"
-}
Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 181527, youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-06-28 17:27:44 UTC (rev 181528)
@@ -0,0 +1,44 @@
+#$Id$
+# 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.2
+pkgrel=1
+pkgdesc='Command line utility for viewing YouTube videos'
+arch=('any')
+url='https://github.com/trizen/youtube-viewer'
+license=('GPL3')
+source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('f70f4a634548a295b5479ce4cf616bcc7375af6dfe31c21a7c18e0903f366632')
+depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
+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"
+
+ perl Makefile.PL INSTALLDIRS=vendor
+}
+
+check(){
+ make -C "$pkgname-$pkgver" test
+}
+
+package() {
+ make -C "$pkgname-$pkgver" install DESTDIR="$pkgdir"
+ rm -r "$pkgdir/usr/lib"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list