1 # Contributor: Cesar Alcalde <lambda512 _at_ gmail.com>
5 pkgdesc="Oauth support 'in a Qt way'."
7 url="http://github.com/ayoy/qoauth"
9 depends=('qt>=4.5.0' 'qca')
13 source=('fix_lib_64.patch')
14 md5sums=('75d2e129f4a8b8994b48699d71e170b4')
16 _gitroot="http://github.com/ayoy/qoauth.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 make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
41 patch -p1 -i $srcdir/fix_lib_64.patch
44 make INSTALL_ROOT=$pkgdir install || return 1