Date: Wednesday, October 9, 2019 @ 19:14:13
  Author: escondida
Revision: 514380

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-10-09 19:13:55 UTC (rev 514379)
+++ PKGBUILD    2019-10-09 19:14:13 UTC (rev 514380)
@@ -1,48 +0,0 @@
-# Maintainer: Alad Wenter <a...@mailbox.org>
-# Contributor: Alexander F Rødseth <xypr...@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
-}

Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 514379, 
youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-10-09 19:14:13 UTC (rev 514380)
@@ -0,0 +1,52 @@
+# Maintainer: Ivy Foster <c...@iff.ink>
+# Contributor: Alad Wenter <a...@mailbox.org>
+# Contributor: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Daniel Wallace < danielwallace at gtmanfred dot com>
+# Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
+
+pkgname=youtube-viewer
+epoch=1
+pkgver=3.5.8
+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";)
+# sums provided by packager makepkg -g
+sha256sums=(afe061263917a84cd297919c1ac79157ed3952f549825552eb6bb821e38fae0c)
+
+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 -p "$pkgdir/usr/share/applications" "$pkgdir/usr/share/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
+}

Reply via email to