1 # Contributor: Jakub Luzny <limoto94@gmail.com>
5 pkgdesc='Qt4-based Wake-on-LAN manager'
7 url='http://www.dolezel.info/projects/wolman'
9 depends=('qt>=4.3.0' 'libpcap' 'libnet' 'iproute')
12 conflicts=('wolman' 'wolman-svn')
13 replaces=('wolman-svn')
17 _gitroot="git://dolezel.info/wolman.git"
22 msg "Connecting to GIT server...."
24 if [ -d "$srcdir/$_gitname" ] ; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -r "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
40 install -Dm 775 wolman "$pkgdir/usr/bin/wolman"
44 # vim:set ts=2 sw=2 et: