updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / mhddfs-svn / PKGBUILD
blob751614a7431dd8052248856a67915382c529c7c5
1 # Contributor: Michail "mnk" Pavlenko <maniak.net [at] gmail [dot] com>
2 pkgname=mhddfs-svn
3 pkgver=194
4 pkgrel=1   
5 pkgdesc="A FUSE module that combines a several mount points into the single one. SVN version."
6 arch=('i686' 'x86_64')
7 url="http://svn.uvw.ru/mhddfs/trunk/README"
8 license=('GPL3')
9 depends=('fuse')
10 makedepends=('subversion' 'gcc' 'glibc')
11 conflicts=('mhddfs')
12 source=()
13 md5sums=()
15 _svntrunk=http://svn.uvw.ru/mhddfs/trunk
16 _svnmod=mhddfs
18 build() {
20   cd $startdir
22   if [ -d $_svnmod/.svn ]; then
23     (cd $_svnmod && svn up)
24   else
25     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26   fi
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   cd $_svnmod
32   make
33   cp ./mhddfs /usr/bin