# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=gshare pkgver=0.94 pkgrel=2 pkgdesc="Easy file sharing for Gnome" arch=('i686' 'x86_64') url="https://launchpad.net/gshare-project" license=('GPL') depends=('gtk-sharp-2' 'avahi') install=$pkgname.install options=('!makeflags') #source=(http://yimports.com/~cpinto/downloads/gshare/$pkgver/gshare-$pkgver.tar.gz) #source=(http://launchpadlibrarian.net/7591470/gshare_0.94.orig.tar.gz) source=(http://ftp.de.debian.org/debian/pool/main/g/gshare/gshare_$pkgver.orig.tar.gz) md5sums=('bfb05ba7502218e9d9cacc7916098a03') build() { export MONO_SHARED_DIR=$startdir/src/.wabi mkdir -p $MONO_SHARED_DIR cd $startdir/src/gshare-$pkgver ./configure --prefix=/usr --sysconfdir=/usr/share --with-dbus-service-dir=/usr/share/dbus-1/services --disable-schemas-install sed -i 's/-scrollkeeper-update/#-scrollkeeper-update/' help/C/Makefile make || return 1 make DESTDIR=$startdir/pkg install || return 1 mv $startdir/pkg/usr/share/gshare/gshared.desktop $startdir/pkg/usr/share/applications/ rm -r $startdir/pkg/usr/share/gshare rm -r $MONO_SHARED_DIR }