1 # Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-vfs-nosmb
8 pkgdesc="The GNOME Virtual File System (without samba support)."
11 depends=('gamin' 'gconf>=2.32.0' 'bzip2' 'avahi>=0.6.27' 'gnome-mime-data>=2.18.0-2' 'heimdal>=1.3.3' 'gnutls>=2.8.6')
12 makedepends=('intltool' 'gtk-doc' 'gnome-common')
13 options=('!libtool' '!emptydirs' '!makeflags')
14 conflicts=('gnome-vfs')
15 provides=("gnome-vfs=$pkgver")
16 url="http://www.gnome.org"
17 install=gnome-vfs.install
18 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/2.24/gnome-vfs-${pkgver}.tar.bz2
20 sha256sums=('62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa'
21 '66c7cfb12995c0dd94a2caea95c7e3c55981993f05a79c585d60915ff131955d')
24 cd "${srcdir}/${_pkgname}-${pkgver}"
26 #Fix build with new gnutls
27 patch -Np1 -i "${srcdir}/gnutls-config.patch"
34 ./configure --prefix=/usr --sysconfdir=/etc \
35 --localstatedir=/var --disable-static \
36 --libexecdir=/usr/lib/gnome-vfs-2.0 \
37 --disable-samba --disable-hal \
38 --enable-avahi --disable-howl \
39 --disable-openssl --enable-gnutls
45 cd "${srcdir}/${_pkgname}-${pkgver}"
46 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
48 install -dm755 "${pkgdir}/usr/share/gconf/schemas"
49 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" \
50 --domain gnome-vfs-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
52 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas