[arch-commits] Commit in youtube-viewer/repos/community-any (PKGBUILD PKGBUILD)

Alad Wenter alad at archlinux.org
Sun Jan 6 21:17:20 UTC 2019


    Date: Sunday, January 6, 2019 @ 21:17:18
  Author: alad
Revision: 420763

archrelease: copy trunk to community-any

Added:
  youtube-viewer/repos/community-any/PKGBUILD
    (from rev 420762, youtube-viewer/trunk/PKGBUILD)
Deleted:
  youtube-viewer/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-06 21:17:02 UTC (rev 420762)
+++ PKGBUILD	2019-01-06 21:17:18 UTC (rev 420763)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Alad Wenter <alad at mailbox.org>
-# Contributor: 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.3.4
-pkgrel=2
-pkgdesc='Command line utility for viewing YouTube videos'
-arch=('any')
-url='https://github.com/trizen/youtube-viewer'
-license=('GPL3')
-depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
-makedepends=('perl-module-build')
-optdepends=('perl-json-xs: faster JSON to HASH conversion'
-            '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'
-            'vlc: for playing the videos with VLC'
-            'mpv: for playing the videos with MPV (recommended)'
-            'gtk2-perl: for the GTK GUI'
-            'perl-file-sharedir: for the GTK GUI')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('f65d27c0f7a7e51a4d7f89ab2cb27a064ff82fbb971add7aa5606f5dfeec0ab7')
-
-build() {
-    cd "$pkgname-$pkgver"
-    perl Build.PL --installdirs vendor --gtk
-}
-
-check(){
-    cd "$pkgname-$pkgver"
-    ./Build test
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-    ./Build install --destdir "$pkgdir"
-    rm -r "$pkgdir"/usr/lib
-
-    mkdir "$pkgdir"/usr/share/{applications,pixmaps}
-    mv "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop \
-        "$pkgdir"/usr/share/applications/gtk-youtube-viewer.desktop
-    cp "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png \
-        "$pkgdir"/usr/share/pixmaps/gtk-youtube-viewer.png
-}

Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 420762, youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-06 21:17:18 UTC (rev 420763)
@@ -0,0 +1,48 @@
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: 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.5.1
+pkgrel=1
+pkgdesc='Command line utility for viewing YouTube videos'
+arch=('any')
+url='https://github.com/trizen/youtube-viewer'
+license=('GPL3')
+depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww')
+makedepends=('perl-module-build')
+optdepends=('perl-json-xs: faster JSON to HASH conversion'
+            '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'
+            'vlc: for playing the videos with VLC'
+            'mpv: for playing the videos with MPV (recommended)'
+            'gtk2-perl: for the GTK GUI'
+            'perl-file-sharedir: for the GTK GUI')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('52e04abc6927719130b6ab04b91ec8795945a37ca905927c43efc164e7b282b1')
+
+build() {
+    cd "$pkgname-$pkgver"
+    perl Build.PL --installdirs vendor --gtk
+}
+
+check(){
+    cd "$pkgname-$pkgver"
+    ./Build test
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    ./Build install --destdir "$pkgdir"
+    rm -r "$pkgdir"/usr/lib
+
+    mkdir "$pkgdir"/usr/share/{applications,pixmaps}
+    mv "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop \
+        "$pkgdir"/usr/share/applications/gtk-youtube-viewer.desktop
+    cp "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png \
+        "$pkgdir"/usr/share/pixmaps/gtk-youtube-viewer.png
+}



More information about the arch-commits mailing list