[arch-commits] Commit in youtube-viewer/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Mar 23 01:57:40 UTC 2020
Date: Monday, March 23, 2020 @ 01:57:40
Author: felixonmars
Revision: 603684
archrelease: copy trunk to community-any
Added:
youtube-viewer/repos/community-any/PKGBUILD
(from rev 603683, youtube-viewer/trunk/PKGBUILD)
youtube-viewer/repos/community-any/youtube-viewer.install
(from rev 603683, youtube-viewer/trunk/youtube-viewer.install)
Deleted:
youtube-viewer/repos/community-any/PKGBUILD
youtube-viewer/repos/community-any/youtube-viewer.install
------------------------+
PKGBUILD | 134 +++++++++++++++++++++++------------------------
youtube-viewer.install | 32 +++++------
2 files changed, 82 insertions(+), 84 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-23 01:57:19 UTC (rev 603683)
+++ PKGBUILD 2020-03-23 01:57:40 UTC (rev 603684)
@@ -1,68 +0,0 @@
-# Maintainer: Ivy Foster <iff at archlinux.org>
-# 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
-pkgdesc='Command line utility for viewing YouTube videos'
-url='https://github.com/trizen/youtube-viewer'
-license=(GPL3)
-
-epoch=1
-pkgver=3.7.4
-pkgrel=2
-
-depends=(perl perl-data-dump perl-file-sharedir perl-json perl-lwp-protocol-https perl-libwww)
-makedepends=(perl-module-build)
-optdepends=(
- 'gtk2-perl: GTK2 GUI'
- 'mpv: play videos with MPV'
- 'perl-file-sharedir: GTK GUI'
- 'perl-gtk3: GTK3 GUI'
- 'perl-json-xs: faster JSON to HASH conversion'
- 'perl-term-readline-gnu: better STDIN support'
- 'perl-text-charwidth: print results in a fixed-width format'
- 'vlc: play videos with VLC'
- 'wget: download videos with wget'
- 'youtube-dl: play videos with encrypted signatures'
-)
-
-arch=(any)
-source=(
- "$pkgname-$pkgver.tar.gz::https://github.com/trizen/youtube-viewer/archive/$pkgver.tar.gz"
- "https://github.com/trizen/youtube-viewer/releases/download/$pkgver/youtube-viewer-3.7.4.tar.gz.asc"
-)
-install=youtube-viewer.install
-
-validpgpkeys=(ABB8BBAA2E279767774149B7D0A443C703A3A056)
-# sums provided by packager makepkg -g
-sha256sums=(
- f049fe7f6f27c1dbc4e1835f2b99c922b7d66b11568edd63653c670ce5500cfd
- SKIP
-)
-
-build() {
- cd "youtube-viewer-$pkgver"
- perl Build.PL --installdirs vendor --gtk
-}
-
-check() {
- cd "youtube-viewer-$pkgver"
- ./Build test
-}
-
-package() {
- cd "youtube-viewer-$pkgver"
-
- ./Build install --destdir "$pkgdir"
- rm -r "$pkgdir/usr/lib"
-
- install -D -m 644 README.md "$pkgdir/usr/share/doc/youtube-viewer/README.md"
-
- 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 603683, youtube-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-23 01:57:40 UTC (rev 603684)
@@ -0,0 +1,66 @@
+# Maintainer: Ivy Foster <iff at archlinux.org>
+# 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
+pkgdesc='Command line utility for viewing YouTube videos'
+url='https://github.com/trizen/youtube-viewer'
+license=(GPL3)
+
+epoch=1
+pkgver=3.7.5
+pkgrel=1
+
+depends=(perl perl-data-dump perl-file-sharedir perl-json perl-lwp-protocol-https perl-libwww)
+makedepends=(perl-module-build)
+optdepends=(
+ 'gtk2-perl: GTK2 GUI'
+ 'mpv: play videos with MPV'
+ 'perl-file-sharedir: GTK GUI'
+ 'perl-gtk3: GTK3 GUI'
+ 'perl-json-xs: faster JSON to HASH conversion'
+ 'perl-term-readline-gnu: better STDIN support'
+ 'perl-text-charwidth: print results in a fixed-width format'
+ 'vlc: play videos with VLC'
+ 'wget: download videos with wget'
+ 'youtube-dl: play videos with encrypted signatures'
+)
+
+arch=(any)
+source=(
+ "$pkgname-$pkgver.tar.gz::https://github.com/trizen/youtube-viewer/archive/$pkgver.tar.gz"
+ "https://github.com/trizen/youtube-viewer/releases/download/$pkgver/youtube-viewer-$pkgver.tar.gz.asc"
+)
+install=youtube-viewer.install
+
+validpgpkeys=(ABB8BBAA2E279767774149B7D0A443C703A3A056)
+# sums provided by packager makepkg -g
+sha512sums=('4f4941a89942a60184eab18f81f4f6ad698c684b8166b10871287c64441323730e700fbb01c28c05a14452073236599a511593dbe0353c5cd121fbf0926d3200'
+ 'SKIP')
+
+build() {
+ cd "youtube-viewer-$pkgver"
+ perl Build.PL --installdirs vendor --gtk
+}
+
+check() {
+ cd "youtube-viewer-$pkgver"
+ ./Build test
+}
+
+package() {
+ cd "youtube-viewer-$pkgver"
+
+ ./Build install --destdir "$pkgdir"
+ rm -r "$pkgdir/usr/lib"
+
+ install -D -m 644 README.md "$pkgdir/usr/share/doc/youtube-viewer/README.md"
+
+ 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"
+}
Deleted: youtube-viewer.install
===================================================================
--- youtube-viewer.install 2020-03-23 01:57:19 UTC (rev 603683)
+++ youtube-viewer.install 2020-03-23 01:57:40 UTC (rev 603684)
@@ -1,16 +0,0 @@
-post_install() {
- cat <<EOF
-Because of the increasing popularity of youtube-viewer, the
-developer's API key is occasionally exceeding its usage limit. Users
-who are able are requested to create their own free API keys to reduce
-the load. Please refer to
-
- /usr/share/doc/youtube-viewer/README.md
-
-for instructions.
-EOF
-}
-
-post_upgrade() {
- post_install
-}
Copied: youtube-viewer/repos/community-any/youtube-viewer.install (from rev 603683, youtube-viewer/trunk/youtube-viewer.install)
===================================================================
--- youtube-viewer.install (rev 0)
+++ youtube-viewer.install 2020-03-23 01:57:40 UTC (rev 603684)
@@ -0,0 +1,16 @@
+post_install() {
+ cat <<EOF
+Because of the increasing popularity of youtube-viewer, the
+developer's API key is occasionally exceeding its usage limit. Users
+who are able are requested to create their own free API keys to reduce
+the load. Please refer to
+
+ /usr/share/doc/youtube-viewer/README.md
+
+for instructions.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list