1 # Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
6 pkgdesc="A powerful perl application designed to retrieve files from download services (like RapidShare, MegaUpload and many more)"
10 depends=('perl-gd' 'tesseract' 'perl-uri' 'perl-www-curl')
11 optdepends=('imagemagick:better support for MegaUpload captcha (higher probability of success)' 'perl-crypt-blowfish:required for Link/SecuredIn' 'perl-crypt-rijndael:required for Link/CryptIt' 'perl-term-size:allows to redraw the screen correctly after terminal size change')
12 makedepends=('subversion')
14 _svntrunk=http://svn.pld-linux.org/svn/toys/
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build/$_svnmod"
35 make PREFIX=/usr DESTDIR="$pkgdir/" install