Date: Friday, May 3, 2013 @ 16:50:09 Author: dwallace Revision: 89854
archrelease: copy trunk to community-any Added: youtube-viewer/repos/community-any/PKGBUILD (from rev 89853, youtube-viewer/trunk/PKGBUILD) Deleted: youtube-viewer/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-05-03 14:49:43 UTC (rev 89853) +++ PKGBUILD 2013-05-03 14:50:09 UTC (rev 89854) @@ -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.0.7 -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") -md5sums=('cb0cec192a4d835c4bbcceedfa2f7d63') - -depends=('perl>=5.10.0' 'mplayer' 'perl-data-dump' 'perl-libwww' 'perl-xml-fast') -optdepends=('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/" - -} -md5sums=('5f317893557dc7eea71f81d2deabb3e7') Copied: youtube-viewer/repos/community-any/PKGBUILD (from rev 89853, youtube-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-05-03 14:50:09 UTC (rev 89854) @@ -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.0.7 +pkgrel=2 +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=('7d8e024fdd3fcc08c3f26620403ebc9f05fb77102dce6913b61ec7ba32ccd996') + +depends=('perl>=5.10.0' 'perl-data-dump' 'perl-libwww' 'perl-xml-fast') +optdepends=('vlc: for playinng 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/" + +}