Date: Thursday, September 24, 2020 @ 21:56:52 Author: arojas Revision: 711936
archrelease: copy trunk to community-any Added: youtube-viewer/repos/community-any/PKGBUILD (from rev 711935, youtube-viewer/trunk/PKGBUILD) youtube-viewer/repos/community-any/youtube-viewer.install (from rev 711935, youtube-viewer/trunk/youtube-viewer.install) Deleted: youtube-viewer/repos/community-any/PKGBUILD youtube-viewer/repos/community-any/youtube-viewer.install ------------------------+ PKGBUILD | 132 +++++++++++++++++++++++------------------------ youtube-viewer.install | 32 +++++------ 2 files changed, 82 insertions(+), 82 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-24 21:56:42 UTC (rev 711935) +++ PKGBUILD 2020-09-24 21:56:52 UTC (rev 711936) @@ -1,66 +0,0 @@ -# Maintainer: Ivy Foster <i...@archlinux.org> -# 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 -pkgdesc='Command line utility for viewing YouTube videos' -url='https://github.com/trizen/youtube-viewer' -license=(GPL3) - -epoch=1 -pkgver=3.7.8 -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=('30d776486da5338914c7fbbdf1517c1c48c1a025a069605727302c16e500695cd82888e9896728966ab8f313799fd3aef23b35892cdd5f2decd9212d4c7fad87' - '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 711935, youtube-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-24 21:56:52 UTC (rev 711936) @@ -0,0 +1,66 @@ +# Maintainer: Ivy Foster <i...@archlinux.org> +# 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 +pkgdesc='Command line utility for viewing YouTube videos' +url='https://github.com/trizen/youtube-viewer' +license=(GPL3) + +epoch=1 +pkgver=3.7.9 +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=('e59dfe11029bb243f301279354a849ca8de8afe98efb78947f362fd823cfe2e1cc038df711b0a5817da5e491b0d268474a060f698ec3c56914e2f4c3062b7005' + '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-09-24 21:56:42 UTC (rev 711935) +++ youtube-viewer.install 2020-09-24 21:56:52 UTC (rev 711936) @@ -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 711935, youtube-viewer/trunk/youtube-viewer.install) =================================================================== --- youtube-viewer.install (rev 0) +++ youtube-viewer.install 2020-09-24 21:56:52 UTC (rev 711936) @@ -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 +}