1 # Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
6 pkgdesc="Youtube Viewer: Search and play YouTube videos with MPlayer."
8 url="https://github.com/trizen/$pkgname"
11 depends=('mplayer' 'perl-libwww' 'perl-xml-fast' 'perl-http-message' 'perl-net-http')
12 optdepends=("perl-lwp-protocol-https: for login and https support"
13 "gcap: for retrieving Youtube closed captions. [in AUR]")
14 _gitroot="git://github.com/trizen/$pkgname.git"
18 msg "Connecting to github GIT server..."
20 if [ -d $pkgname ]; then
21 cd $pkgname && git pull origin
31 install -m 755 -D "$pkgname" "$pkgdir/usr/bin/$pkgname"