5 pkgdesc="A WPA passphrase generator for AGPF Alice Routers"
7 url="https://github.com/M0Rf30/aliwe"
10 makedepends=('git' 'make')
12 _gitroot="git://github.com/M0Rf30/aliwe.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
34 make DESTDIR=$pkgdir install
36 rm -rf "$srcdir/$_gitname-build"