1 # Maintainer: Jakob 'flocke' Nixdorf <flocke [swirly thing] user-helfen-usern [dot] de>
6 pkgdesc="A little perl script to read quotes from various bash pages"
7 url="http://gitorious.org/bash-view/bash-view"
10 depends=('perl' 'perl-libwww')
15 _gitroot="git://gitorious.org/bash-view/mainline.git"
21 msg "Connecting to gitorious.org GIT server...."
22 if [ -d ${srcdir}/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
33 cp -r $_gitname $_gitname-build
34 cd ${srcdir}/$_gitname-build
36 perl Makefile.PL INSTALLDIRS=vendor || return 1
38 make DESTDIR=${pkgdir} install || return 1
40 # Remove .packlist and perllocal.pod files.
41 find ${pkgdir} -name '.packlist' -delete
42 find ${pkgdir} -name 'perllocal.pod' -delete
44 rm -rf ${srcdir}/$_gitname-build