updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / gtk-youtube-viewer / PKGBUILD
blob7d2b4eb8f7cf8ec516d3342d138baa35f294b8a1
1 # Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
3 pkgname=gtk-youtube-viewer
4 pkgver=20120110
5 pkgrel=1
6 pkgdesc="Gtk2 interface for YouTube-Viewer (
7 http://aur.archlinux.org/packages.php?ID=37779 )"
8 arch=('any')
9 url="https://github.com/trizen/gtk-youtube-viewer"
10 license=('GPL')
11 makedepends=('git')
12 depends=('gtk2-perl' 'mplayer' 'perl-libwww' 'perl-xml-fast')
13 optdepends=("perl-lwp-protocol-https: for https support"
14             "gcap: for retrieving Youtube closed captions. [in AUR]")
15 _gitroot="git://github.com/trizen/$pkgname.git"
16 _gitname="$pkgname"
18 build() {
19     msg "Connecting to github GIT server...."
21     if [ -d $pkgname ] ; then
22         cd $pkgname && git pull origin
23     else
24         git clone "$_gitroot"
25     fi
27 package() {
28   cd $pkgname
29   make DESTDIR="$pkgdir" install