Date: Thursday, June 12, 2014 @ 23:14:37 Author: dwallace Revision: 113078
archrelease: copy trunk to community-any Added: youtube-viewer/repos/community-any/PKGBUILD (from rev 113077, youtube-viewer/trunk/PKGBUILD) Deleted: youtube-viewer/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-06-12 21:14:05 UTC (rev 113077) +++ PKGBUILD 2014-06-12 21:14:37 UTC (rev 113078) @@ -1,43 +0,0 @@ -#$Id$ -# Maintainer: Daniel Wallace < danielwallace at gtmanfred dot com> -# Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d> - -pkgname=youtube-viewer -_pkgdir=trizen-youtube-viewer -epoch=1 -pkgver=3.1.0 -pkgrel=1 -pkgdesc="A command line utility for viewing youtube-videos in MPlayer." -arch=('any') -url="https://github.com/trizen/youtube-viewer" -license=('GPL3') -source=("$pkgname-$pkgver.zip::https://github.com/trizen/$pkgname/zipball/$pkgver") -sha256sums=('df10db72316228e0f68273879b5d59ea1a0a0bcdfc5a230874ee1bc71ea93f1e') - -depends=('perl>=5.10.0' 'perl-data-dump' 'perl-libwww' 'perl-xml-fast') -optdepends=('vlc: for playing videos' - 'mplayer: for playing videos' - 'perl-term-readkey: to get the terminal width size' - 'perl-term-readline-gnu: for a better STDIN support' - 'perl-lwp-protocol-https: for login and https support' - 'gcap: for retrieving Youtube closed captions. [in AUR]') - - -build() { - cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer - - perl Build.PL # --gtk-youtube-viewer -} - -check(){ - cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer - - ./Build test -} - -package() { - cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer - - ./Build install --install_path script=/usr/bin --destdir=$pkgdir - rm -r "$pkgdir/usr/lib/" -} Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 113077, youtube-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-06-12 21:14:37 UTC (rev 113078) @@ -0,0 +1,44 @@ +#$Id$ +# Maintainer: Daniel Wallace < danielwallace at gtmanfred dot com> +# Contributor: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d> + +pkgname=youtube-viewer +_pkgdir=trizen-youtube-viewer +epoch=1 +pkgver=3.1.1 +pkgrel=1 +pkgdesc="A command line utility for viewing youtube-videos in MPlayer." +arch=('any') +url="https://github.com/trizen/youtube-viewer" +license=('GPL3') +source=("$pkgname-$pkgver.zip::https://github.com/trizen/$pkgname/zipball/$pkgver") +sha256sums=('4f0a0a5053ef50f095bf41cf044a8aecfc7ff64488ec8c8259861b622adf3906') + +depends=('perl>=5.10.0' 'perl-data-dump' 'perl-libwww' 'perl-xml-fast') +optdepends=('vlc: for playing videos' + 'mplayer: for playing videos' + 'perl-term-readkey: to get the terminal width size' + 'perl-term-readline-gnu: for a better STDIN support' + 'perl-lwp-protocol-https: for login and https support' + 'gcap: for retrieving Youtube closed captions. [in AUR]') + + +build() { + cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer + + perl Build.PL + perl Makefile.PL INSTALLDIRS=vendor +} + +check(){ + cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer + + ./Build test +} + +package() { + cd "$srcdir/$_pkgdir"*/WWW-YoutubeViewer + + make install DESTDIR=$pkgdir + rm -r "$pkgdir/usr/lib/" +}