Date: Wednesday, September 6, 2017 @ 09:56:25 Author: arojas Revision: 256038
archrelease: copy trunk to community-any Added: youtube-viewer/repos/community-any/PKGBUILD (from rev 256037, youtube-viewer/trunk/PKGBUILD) Deleted: youtube-viewer/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-09-06 09:55:51 UTC (rev 256037) +++ PKGBUILD 2017-09-06 09:56:25 UTC (rev 256038) @@ -1,45 +0,0 @@ -#$Id$ -# Maintainer: 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.2.8 -pkgrel=1 -pkgdesc='Command line utility for viewing YouTube videos' -arch=('any') -url='https://github.com/trizen/youtube-viewer' -license=('GPL3') -source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz") -sha256sums=('50e26c4f9548f0211cb0dd35ade192939ec12c5aab9d0d55692223390dbb9039') -depends=('perl>=5.16.0' '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: to print the results in a fixed-width format (-W)' - 'perl-term-readline-gnu: for better STDIN support' - 'youtube-dl: for playing videos with encrypted signatures' - 'wget: for downloading videos with wget' - 'vlc: for playing the videos with VLC' - 'mpv: for playing the videos with MPV (recommended)' - 'gtk2-perl: for the GTK GUI' - 'perl-file-sharedir: for the GTK GUI' -) - -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 -} Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 256037, youtube-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-09-06 09:56:25 UTC (rev 256038) @@ -0,0 +1,45 @@ +#$Id$ +# Maintainer: 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.2.9 +pkgrel=1 +pkgdesc='Command line utility for viewing YouTube videos' +arch=('any') +url='https://github.com/trizen/youtube-viewer' +license=('GPL3') +source=("https://github.com/trizen/$pkgname/archive/$pkgver.tar.gz") +sha256sums=('63d4ab300030fe79ed48f441a83085fbc007833eab4717c66b911f45e798da8d') +depends=('perl>=5.16.0' '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: to print the results in a fixed-width format (-W)' + 'perl-term-readline-gnu: for better STDIN support' + 'youtube-dl: for playing videos with encrypted signatures' + 'wget: for downloading videos with wget' + 'vlc: for playing the videos with VLC' + 'mpv: for playing the videos with MPV (recommended)' + 'gtk2-perl: for the GTK GUI' + 'perl-file-sharedir: for the GTK GUI' +) + +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 +}