# Maintainer: melchips # Contributor: atie H. # Contributor: L42y <423300@gmail.com> # Contributor: gesh pkgname=sparkleshare-git _gitname=SparkleShare pkgver=1.4.r178.g686fde2 pkgrel=1 pkgdesc="An open-source clone of Dropbox, written in C-sharp" arch=('i686' 'x86_64') url="http://www.sparkleshare.org/" license=('LGPL') depends=('mono' 'gtk-sharp-git' 'intltool' 'webkit-sharp' 'notify-sharp-3' 'desktop-file-utils' 'webkitgtk-sharp' 'soup-sharp' 'dbus-sharp') makedepends=('git') options=('!libtool') provides=('sparkleshare') conflicts=('sparkleshare') source=("$_gitname"::'https://github.com/hbons/SparkleShare.git') md5sums=('SKIP') pkgver() { cd "$srcdir/$_gitname" # Use the unannotated tag of the last commit git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g' } build() { cd "$srcdir/$_gitname" msg2 "Starting make..." ./autogen.sh --prefix=/usr make || return 1 } package() { cd ${srcdir}/${_gitname} make DESTDIR=${pkgdir} install || return 1 install -m755 -d ${pkgdir}/usr/share/sparkleshare/html install -m755 -d ${pkgdir}/usr/share/sparkleshare/pixmaps }