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

Felix Yan felixonmars at archlinux.org
Wed Dec 25 23:58:30 UTC 2019


    Date: Wednesday, December 25, 2019 @ 23:58:30
  Author: felixonmars
Revision: 541517

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 23:58:19 UTC (rev 541516)
+++ PKGBUILD	2019-12-25 23:58:30 UTC (rev 541517)
@@ -1,52 +0,0 @@
-# Maintainer: Ivy Foster <code at iff.ink>
-# Contributor: 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.9
-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=(8c2f02631770f930830d7b8e7e31be4d4147aa005f3e16a509f729c068f75822)
-
-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
-}

Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 541516, youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-25 23:58:30 UTC (rev 541517)
@@ -0,0 +1,52 @@
+# Maintainer: Ivy Foster <code at iff.ink>
+# Contributor: 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.6.0
+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=('5c75afb0124c7ee82d60a1f57ef7e2824fd6332643bb3c56d78a69963c08c587')
+
+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
+}


More information about the arch-commits mailing list