Date: Monday, April 17, 2017 @ 15:56:20 Author: arojas Revision: 223503
archrelease: copy trunk to community-any Added: youtube-viewer/repos/community-any/PKGBUILD (from rev 223502, youtube-viewer/trunk/PKGBUILD) Deleted: youtube-viewer/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-04-17 15:55:53 UTC (rev 223502) +++ PKGBUILD 2017-04-17 15:56:20 UTC (rev 223503) @@ -1,44 +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.6 -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=('a4dbf547e29c7ee7ca7d5a3a7c844ef86d950fc113606a56482bdbb05247852a') -depends=('perl>=5.16.0' 'perl-data-dump' 'perl-json' 'perl-lwp-protocol-https' 'perl-libwww') -optdepends=( - 'perl-json-xs: faster JSON to HASH conversion' - 'perl-lwp-useragent-cached: cache support' - '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' - 'mplayer: for playing the videos with MPlayer' - 'vlc: for playing the videos with VLC' - 'mpv: for playing the videos with MPV (recommended)' -) - -build() { - cd "$pkgname-$pkgver" - - perl Makefile.PL INSTALLDIRS=vendor -} - -check(){ - make -C "$pkgname-$pkgver" test -} - -package() { - make -C "$pkgname-$pkgver" install DESTDIR="$pkgdir" - rm -r "$pkgdir/usr/lib" -} - -# vim:set ts=2 sw=2 et: Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 223502, youtube-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-04-17 15:56:20 UTC (rev 223503) @@ -0,0 +1,46 @@ +#$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.6 +pkgrel=2 +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=('a4dbf547e29c7ee7ca7d5a3a7c844ef86d950fc113606a56482bdbb05247852a') +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' + 'mplayer: for playing the videos with MPlayer' + '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 +}