1 # Maintainer: Iven Hsu <ivenvd#gmail.com>
6 pkgdesc="GTK+ interface for aria2 download mananger."
8 url="http://iven.github.com/Yaner"
10 depends=('python-chardet' 'python-sqlalchemy' 'python-gobject' 'libnotify' 'dconf')
17 _gitroot="git://github.com/iven/Yaner.git"
23 msg "Connecting to GIT server...."
25 if [[ -d "$_gitname" ]]; then
26 cd "$_gitname" && git pull origin
27 msg "The local files are updated."
29 git clone "$_gitroot" "$_gitname" --branch "$_gitbranch"
32 msg "GIT checkout done or server timeout"
33 msg "Starting build..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname"
42 python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
45 # vim:set ts=2 sw=2 et: