1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
4 pkgname=lib32-$_pkgbase
7 pkgdesc="The GNOME Virtual File System (32 bit)"
10 depends=('lib32-bzip2' 'lib32-avahi' 'lib32-smbclient' 'lib32-gconf'
11 'lib32-krb5' 'lib32-gnutls' 'lib32-libgcrypt' "$_pkgbase")
12 makedepends=('intltool' 'gtk-doc' 'gnome-common' 'lib32-dbus-glib'
13 'gnome-mime-data' 'lib32-keyutils')
14 options=('!libtool' '!emptydirs' '!docs')
15 url="http://www.gnome.org"
16 source=(http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/${pkgver%.*}/$_pkgbase-${pkgver}.tar.bz2
19 sha256sums=('62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa'
20 '66c7cfb12995c0dd94a2caea95c7e3c55981993f05a79c585d60915ff131955d'
21 'c059e218f310da683778919d36e7862f7e763384805f6453d328fbaf507a8114')
26 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
28 cd "${srcdir}/${_pkgbase}-${pkgver}"
30 #Fix build with new gnutls
31 patch -Np1 -i "${srcdir}/gnutls-config.patch"
32 #fix build with new libgcrypt >= 1.5.0
33 patch -Np1 -i "${srcdir}/gcrypt-config.patch"
40 ./configure --prefix=/usr --sysconfdir=/etc \
41 --localstatedir=/var --disable-static \
42 --libexecdir=/usr/lib32/gnome-vfs-2.0 \
43 --enable-{avahi,gnutls,samba} \
44 --disable-{hal,howl,openssl} \
50 cd "${srcdir}/${_pkgbase}-${pkgver}"
51 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
52 rm -rf ${pkgdir}/{etc,usr/{bin,include,share}}