1 # Contributor: Cyker Way <cykerway at gmail dot com>
6 pkgdesc="Android ADB File Manager."
8 url="https://github.com/cykerway/aafm"
10 depends=('python2' 'pygtk')
16 _gitroot="git://github.com/cykerway/aafm.git"
21 msg "Connecting to GIT server...."
23 if [[ -d "$_gitname" ]]; then
24 cd "$_gitname" && git pull origin
25 msg "The local files are updated."
27 git clone "$_gitroot" "$_gitname"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
44 cd "$srcdir/$_gitname-build"
45 python2 setup.py install --root="$pkgdir/" --optimize=1
48 # vim:set ts=2 sw=2 et: