updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / thunar-shares-plugin / PKGBUILD
blob9d3a01beaa49312d417c35a2843391e5303bda71
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
6 pkgver=0.2.0
7 pkgrel=7
8 pkgdesc="A Thunar file manager extension to share files using Samba. Based on nautilus-shares"
9 arch=('i686' 'x86_64')
10 url="http://goodies.xfce.org/projects/thunar-plugins/$pkgname"
11 license=('GPL2' 'LGPL')
12 depends=('thunar' 'thunar-vfs' 'samba')
13 options=('!libtool')
14 source=("http://archive.xfce.org/src/thunar-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
15 md5sums=('80659565406f838585a867443aad4102')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   
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 \
25               --enable-static=no
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir/" install