updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / gvfs-rar / PKGBUILD
blob1762bac40ea4108bc9d299b82668cf12571e5175
1 # Maintainer: Valmantas Paliksa <walmis at balticum-tv.lt>
3 pkgname=gvfs-rar
4 pkgver=1.10.1
5 pkgrel=1
6 pkgdesc="GVFS virtual filesystem (with rar archive support)"
7 arch=(i686 x86_64)
8 license=('LGPL')
9 depends=('libsoup>=2.24.2.1' 'libcdio>=0.80-3' 'fuse>=2.7.4' 'bluez-libs' 'smbclient>=3.2.4' 'libgphoto2>=2.4.3' 'gnome-keyring>=2.24.1' 'avahi>=0.6.23' 'libarchive>=2.5.5' 'unrar' 'python' 'glib2>=2.20')
10 provides=('gvfs=1.2.3')
11 conflicts=('gvfs')
12 replaces=('gvfs=${pkgver}')
13 makedepends=('pkgconfig' 'intltool' 'autoconf' 'automake')
14 url="http://www.gnome.org"
15 install=gvfs.install
16 options=(!libtool)
17 source=(http://ftp.gnome.org/pub/gnome/sources/gvfs/1.10/gvfs-${pkgver}.tar.bz2 nautilus-mount-rar.desktop rarfs.patch)
18 md5sums=('7ca2acfa4dffd94b95f4b8713a346607'
19          '609937e1eb3a8b150032ebdb10bd3cf4'
20          '4b3913b2c0dccc150d7a8c98657499e4')
22 build() {
23   cd "${srcdir}/gvfs-${pkgver}"
24   
25   patch -Np1 -i ${startdir}/rarfs.patch || return 1
26   
27   autoreconf -i
28   
29   ./configure --prefix=/usr --sysconfdir=/etc \
30               --localstatedir=/var --disable-static \
31                   --libexecdir=/usr/lib/gvfs || return 1
32   make || return 1
33   make DESTDIR="${pkgdir}" install || return 1
34   install -m755 -d ${pkgdir}/usr/share/applications || return 1
35   install -m644 ${startdir}/nautilus-mount-rar.desktop ${pkgdir}/usr/share/applications || return 1