updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gnome-vfs-nosmb / PKGBUILD
blob3c4841c1c08b5586f4450357bf8ca82150ed758b
1 # Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-vfs-nosmb
5 _pkgname=gnome-vfs
6 pkgver=2.24.4
7 pkgrel=1
8 pkgdesc="The GNOME Virtual File System (without samba support)."
9 arch=(i686 x86_64)
10 license=('LGPL')
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
19         gnutls-config.patch)
20 sha256sums=('62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa'
21             '66c7cfb12995c0dd94a2caea95c7e3c55981993f05a79c585d60915ff131955d')
23 build() {
24   cd "${srcdir}/${_pkgname}-${pkgver}"
26   #Fix build with new gnutls
27   patch -Np1 -i "${srcdir}/gnutls-config.patch"
29   libtoolize --force
30   gtkdocize
31   aclocal
32   autoconf
33   automake
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
41   make
44 package() {
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