diff options
author | Francois Truphemus (melchips) | 2015-07-06 22:35:26 +0200 |
---|---|---|
committer | Francois Truphemus (melchips) | 2015-07-06 22:35:26 +0200 |
commit | 80fc8fd56e943dc7760a544434c1e2a150ea6cf3 (patch) | |
tree | 116b1ce1bc7989ae306a59f3a4c40fc312e3708f | |
download | aur-80fc8fd56e943dc7760a544434c1e2a150ea6cf3.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58432c787110 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = sparkleshare-git + pkgdesc = An open-source clone of Dropbox, written in C-sharp + pkgver = 1.2.0.r107.g6400ccc + pkgrel = 1 + url = http://www.sparkleshare.org/ + arch = i686 + arch = x86_64 + license = LGPL + makedepends = git + depends = mono + depends = gtk-sharp-git + depends = ndesk-dbus + depends = ndesk-dbus-glib + depends = intltool + depends = webkit-sharp + depends = notify-sharp-git + depends = desktop-file-utils + depends = webkitgtk-sharp-git + depends = soup-sharp-git + provides = sparkleshare + conflicts = sparkleshare + options = !libtool + source = SparkleShare::git://github.com/hbons/SparkleShare.git + md5sums = SKIP + +pkgname = sparkleshare-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c52a23c3f845 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: melchips <truphemus dot francois at gmail dot com> +# Contributor: atie H. <atie.at.matrix@gmail.com> +# Contributor: L42y <423300@gmail.com> +# Contributor: gesh <gesh@gesh.uni.cx> + +pkgname=sparkleshare-git +_gitname=SparkleShare +pkgver=1.2.0.r107.g6400ccc +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' 'ndesk-dbus' 'ndesk-dbus-glib' 'intltool' +'webkit-sharp' 'notify-sharp-git' 'desktop-file-utils' 'webkitgtk-sharp-git' +'soup-sharp-git') +makedepends=('git') +options=('!libtool') +provides=('sparkleshare') +conflicts=('sparkleshare') +source=("$_gitname"::'git://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 +} |