1 # Maintainer: vae77 <fernandogrd@yahoo.com.br>
6 pkgdesc="Command line tool for scanning webpages for Youtube links."
8 url="http://code.google.com/p/grake/"
10 depends=('perl>=5.10.1', 'perl-libwww' 'perl-getopt-argvfile')
11 optdepends=('perl-umph-prompt: for --interactive')
12 source=("http://grake.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('be5ce15e342c0628de8cb77728d002f9')
16 cd "$srcdir/${pkgname}-${pkgver}/"
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRDS=vendor
22 cd "$srcdir/${pkgname}-${pkgver}/"
23 make install DESTDIR="$pkgdir/"
26 ln -sf site_perl/grake usr/bin
28 # remove perllocal.pod and .packlist
29 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete