diff options
Diffstat (limited to 'community/gshare/PKGBUILD')
-rw-r--r-- | community/gshare/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gshare/PKGBUILD b/community/gshare/PKGBUILD new file mode 100644 index 000000000..bd17b933c --- /dev/null +++ b/community/gshare/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 18374 2010-06-03 15:40:23Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=gshare +pkgver=0.94 +pkgrel=4 +pkgdesc="Easy file sharing for Gnome" +arch=('i686' 'x86_64') +url="https://launchpad.net/gshare-project" +license=('GPL') +depends=('gtk-sharp-2' 'avahi' 'gnome-sharp') +install=$pkgname.install +options=('!makeflags') +source=(http://ftp.de.debian.org/debian/pool/main/g/gshare/gshare_$pkgver.orig.tar.gz + http://ftp.de.debian.org/debian/pool/main/g/gshare/gshare_$pkgver-10.diff.gz) +md5sums=('bfb05ba7502218e9d9cacc7916098a03' + '3dd6000e9afc0db819a6ec69047b440d') + +build() { + export MONO_SHARED_DIR=$srcdir/.wabi + mkdir -p $MONO_SHARED_DIR + + cd $srcdir/gshare-$pkgver + patch -p1 <$srcdir/gshare_$pkgver-10.diff + ls -1 debian/patches/*.patch | while read A; do patch -p1 <$A; done + ./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=$pkgdir install || return 1 + + mv $pkgdir/usr/share/gshare/gshared.desktop $pkgdir/usr/share/applications/ + rm -r $pkgdir/usr/share/gshare + + rm -r $MONO_SHARED_DIR +} |