1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 pkgname=thunar-volman-git
5 pkgdesc="automatic management for removeable devices in thunar"
8 url="http://goodies.xfce.org/projects/thunar-plugins/thunar-volman"
9 groups=('xfce4-goodies-git')
11 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools')
12 conflicts=(thunar-volman)
13 provides=(thunar-volman)
15 install=${pkgname}.install
19 _gitroot=git://git.xfce.org/xfce/thunar-volman
20 _gitname=thunar-volman
24 msg "Connecting to GIT server...."
26 if [[ -d "$_gitname" ]]; then
27 cd "$_gitname" && git pull origin
28 msg "The local files are updated."
30 git clone "$_gitroot" "$_gitname"
33 msg "GIT checkout done or server timeout"
34 msg "Starting build..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
45 --localstatedir=/var --disable-static
50 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir/" install