1 # Contributor: atie H. <atie.at.matrix@gmail.com>
2 # Contributor: L42y <423300@gmail.com>
4 pkgname=sparkleshare-git
7 pkgdesc="An open-source clone of Dropbox, written in Mono"
9 url="http://www.sparkleshare.org/"
11 depends=('mono' 'gtk-sharp-2' 'ndesk-dbus' 'ndesk-dbus-glib' 'intltool' 'nant-nightly' 'webkit-sharp' 'notify-sharp')
16 _gitroot="git://github.com/hbons/SparkleShare.git"
17 _gitname="SparkleShare"
20 msg "Connecting to SparkleShare GIT server...."
22 if [ -d ${srcdir}/${_gitname} ] ; then
23 cd ${srcdir}/${_gitname} && git pull origin
24 msg "The local files are updated."
29 if [ -d ${srcdir}/${_gitname-build} ] ; then
30 cd ${srcdir}/${_gitname-build} && git pull origin
32 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname-build}
35 install -m755 -d ${pkgdir}/usr/share/sparkleshare/html
36 install -m755 -d ${pkgdir}/usr/share/sparkleshare/pixmaps
38 cd ${srcdir}/${_gitname-build}
42 ./autogen.sh --prefix=/usr
47 cd ${srcdir}/${_gitname-build}
49 make DESTDIR=${pkgdir} install