1 # $Id: PKGBUILD 56680 2011-10-10 10:59:37Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: William Rea <sillywilly@gmail.com>
8 pkgdesc="Easy file sharing for Gnome"
10 url="https://launchpad.net/gshare-project"
12 depends=('gtk-sharp-2' 'avahi' 'gnome-sharp')
13 makedepends=('intltool' 'rarian')
14 install=$pkgname.install
15 options=('!makeflags')
16 source=(http://ftp.de.debian.org/debian/pool/main/g/gshare/gshare_$pkgver.orig.tar.gz
17 http://ftp.de.debian.org/debian/pool/main/g/gshare/gshare_$pkgver-11.diff.gz)
18 md5sums=('bfb05ba7502218e9d9cacc7916098a03'
19 'e2b2a6b7613e4ad9cbf55ff8da9f950a')
22 export MONO_SHARED_DIR=$srcdir/.wabi
23 mkdir -p $MONO_SHARED_DIR
25 cd $srcdir/gshare-$pkgver
26 patch -p1 <$srcdir/gshare_$pkgver-11.diff
27 ls -1 debian/patches/*.patch | while read A; do patch -p1 <$A; done
28 [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/usr/share --with-dbus-service-dir=/usr/share/dbus-1/services --disable-schemas-install
29 sed -i 's/-scrollkeeper-update/#-scrollkeeper-update/' help/C/Makefile
31 make DESTDIR=$pkgdir install
33 mv $pkgdir/usr/share/gshare/gshared.desktop $pkgdir/usr/share/applications/
34 rm -r $pkgdir/usr/share/gshare
36 rm -r $MONO_SHARED_DIR