1 # Contributor: Apkawa <apkawa@gmail.com>
6 pkgdesc="Python picture uploader to different imagehostings"
8 url="http://code.google.com/p/uimge/"
10 makedepends=('git' 'setuptools')
11 depends=('python2' 'python-pycurl')
12 optdepends=('guimge-git: - multiuploading files gui based on gtk')
13 provides=('uimge' 'uimge-svn' )
14 conflicts=('uimge' 'uimge-svn')
15 replaces=('uimge' 'uimge-svn')
18 _gitroot="git://github.com/Apkawa/uimge.git"
21 msg "Connecting to $_gitroot GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
34 cd ${srcdir}/${_gitname}-build/
35 python2 setup.py build -f install -f --root ${pkgdir} --prefix=/usr || return 1