1 # Maintainer: Your Name <youremail@domain.com>
5 pkgdesc="X11 visualizer"
7 url="http://www.x11vis.org/"
10 depends=(perl-json-xs perl-xml-twig perl-twiggy perl-io-all perl-dancer perl-moose perl-anyevent perl-moosex-singleton)
20 md5sums=() #generate with 'makepkg -g'
22 _gitroot="https://github.com/x11vis/x11vis.git"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
51 cd "$srcdir/$_gitname-build"
52 make DESTDIR="$pkgdir/" install