updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / gvfs-minimal / PKGBUILD
blobef223d9ab617076a7dc12da22c7c568e5891edef
1 # Maintainer: megadriver <megadriver at gmx dot com>
3 pkgname=gvfs-minimal
4 _pkgname=gvfs
5 pkgver=1.10.1
6 pkgrel=2
7 pkgdesc="A minimal build of gvfs with most backends disabled"
8 url="http://www.gnome.org"
9 arch=('i686' 'x86_64')
10 license=('LGPL')
11 makedepends=('intltool')
12 conflicts=('gvfs')
13 provides=('gvfs')
14 install=gvfs-minimal.install
15 source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/1.10/$_pkgname-$pkgver.tar.bz2")
16 options=(!libtool)
17 md5sums=('7ca2acfa4dffd94b95f4b8713a346607')
19 build() {
20   cd $srcdir/$_pkgname-$pkgver
21   
22   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
23   --disable-afc --disable-archive --disable-afp --disable-avahi --disable-bluray \
24   --disable-fuse --disable-gdu --disable-gphoto2 --disable-gudev --disable-hal \
25   --disable-http --disable-keyring --disable-obexftp --disable-samba \
26   --libexecdir=/usr/lib/gvfs --with-bash-completion-dir=/etc/bash_completion.d 
27   make
30 package() {
31   cd $srcdir/$_pkgname-$pkgver
32   sed -e 's/^am__append_3/#am__append_3/' \
33           -e 's/^am__append_4/#am__append_4/' \
34           -i monitor/Makefile
35   make DESTDIR=$pkgdir install
37   # Disable network automount
38   sed -i 's/AutoMount=true/AutoMount=false/' $pkgdir/usr/share/gvfs/mounts/network.mount