# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=gvfs pkgver=1.6.6 pkgrel=1 pkgdesc="userspace virtual filesystem" url="http://ftp.gnome.org/pub/gnome/sources/gvfs/1.6/" license="GPL" depends= makedepends="dbus-glib-dev intltool fuse-dev udev-dev bluez-dev expat-dev samba-dev libsoup-dev" install= subpackages="$pkgname-dev" source="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install # remove the 2 lines below (and this) if there is no init.d script # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } md5sums="e1f324c45ea07d630f85bd3199865fd9 gvfs-1.6.6.tar.bz2"