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

Alad Wenter alad at archlinux.org
Tue Aug 6 20:10:38 UTC 2019


    Date: Tuesday, August 6, 2019 @ 20:10:38
  Author: alad
Revision: 498093

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-06 20:10:27 UTC (rev 498092)
+++ PKGBUILD	2019-08-06 20:10:38 UTC (rev 498093)
@@ -1,48 +0,0 @@
-# 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.4
-pkgrel=1
-pkgdesc='Command line utility for viewing YouTube videos'
-arch=('any')
-url='https://github.com/trizen/youtube-viewer'
-license=('GPL3')
-depends=('perl' '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: print results in a fixed-width format'
-            'perl-term-readline-gnu: better STDIN support'
-            'youtube-dl: play videos with encrypted signatures'
-            'wget: download videos with wget'
-            'vlc: play videos with VLC'
-            'mpv: play videos with MPV'
-            'gtk2-perl: GTK GUI'
-            'perl-file-sharedir: GTK GUI')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('d5116359c17c6cface40e336980e341a3d84bfdae97b0e252ca70180104c6475')
-
-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 498092, youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-06 20:10:38 UTC (rev 498093)
@@ -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.5
+pkgrel=1
+pkgdesc='Command line utility for viewing YouTube videos'
+arch=('any')
+url='https://github.com/trizen/youtube-viewer'
+license=('GPL3')
+depends=('perl' '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: print results in a fixed-width format'
+            'perl-term-readline-gnu: better STDIN support'
+            'youtube-dl: play videos with encrypted signatures'
+            'wget: download videos with wget'
+            'vlc: play videos with VLC'
+            'mpv: play videos with MPV'
+            'gtk2-perl: GTK GUI'
+            'perl-file-sharedir: GTK GUI')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('f6ce0a57227dfe2c411ef9a7023824206f1f546de06a23e644a2ca798a154a3f')
+
+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