1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: vinz <vinz@archlinux.us>
3 # Contributor: Aurélien DESBRIÈRES <ice.cube@gmx.com>
5 pkgname=thunar-shares-plugin
8 pkgdesc="A Thunar file manager extension to share files using Samba. Based on nautilus-shares"
10 url="http://goodies.xfce.org/projects/thunar-plugins/$pkgname"
11 license=('GPL2' 'LGPL')
12 depends=('thunar' 'thunar-vfs' 'samba')
14 source=("http://archive.xfce.org/src/thunar-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
15 md5sums=('80659565406f838585a867443aad4102')
18 cd "$srcdir/$pkgname-$pkgver"
20 # Patch in order to build against thunarx-2
21 sed -i "s|\(thunarx-\)1|\12|g" configure{,.in} thunar-plugin/Makefile.{am,in}
22 sed -i "s|get_vfs_info|get_file_info|" libshares/libshares-util.c
24 ./configure --prefix=/usr \
30 cd "$srcdir/$pkgname-$pkgver"
32 make DESTDIR="$pkgdir/" install