1 # package by: Samir Faci <csgeek@archlinux dot us >
3 pkgname=ubuntuone-client-bzr
6 pkgdesc="Client for Ubuntu One shareing service, this is a first attempt, expect bugs..but it does build."
8 url="https://launchpad.net/ubuntuone-client"
10 groups=('ubuntuone-bzr')
11 depends=('dbus-python' 'gnome-python-desktop' 'gnome-settings-daemon' 'libproxy' \
12 'pyinotify' 'python' 'python-configglue' 'python-notify' 'python-simplejson' \
13 'ubuntuone-storage-protocol>=1.5.1' 'ubuntu-sso-client>=0.99.4' 'xdg-utils' 'gnome-common' )
14 makedepends=('bzr' 'intltool' 'nautilus' 'xorg-utils' 'imake' 'automake' 'gtk-doc' )
15 provides=('ubuntuone-client-bzr')
16 conflicts=('ubuntuone-client')
19 _bzrbranch=lp:ubuntuone-client
25 msg "Connecting to the server...."
26 if [ ! -d ./${_bzrseries} ]; then
27 bzr co ${_bzrbranch} ${_bzrseries}
34 msg "BZR checkout done or server timeout"
35 [ -d ${_bzrseries}-build ] && rm -rf ${_bzrseries}-build
36 msg "Creating build copy"
37 bzr co ${_bzrseries} ${_bzrseries}-build
38 cd ${_bzrseries}-build
41 patch -p1 -i ../../py2.patch
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var ac_cv_path_PYTHON=/usr/bin/python2
44 make DESTDIR=$pkgdir install