updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / aafm / PKGBUILD
blob4deefdc58030bca51b83ae48b7ccf3e86f90e6e5
1 # Contributor: Cyker Way <cykerway at gmail dot com>
3 pkgname=(aafm)
4 pkgver=20111024
5 pkgrel=1
6 pkgdesc="Android ADB File Manager."
7 arch=(any)
8 url="https://github.com/cykerway/aafm"
9 license=(GPL3)
10 depends=('python2' 'pygtk')
11 makedepends=('git')
12 provides=('aafm')
13 source=()
14 noextract=()
16 _gitroot="git://github.com/cykerway/aafm.git"
17 _gitname="master"
19 build() {
20   cd "$srcdir"
21   msg "Connecting to GIT server...."
23   if [[ -d "$_gitname" ]]; then
24     cd "$_gitname" && git pull origin
25     msg "The local files are updated."
26   else
27     git clone "$_gitroot" "$_gitname"
28   fi
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"
37   #
38   # BUILD HERE
39   #
40   # Nothing to be done.
43 package() {
44   cd "$srcdir/$_gitname-build"
45   python2 setup.py install --root="$pkgdir/" --optimize=1
48 # vim:set ts=2 sw=2 et: