4 pkgdesc="FUSE filesystem for vk.com"
6 url="http://vkfs.googlecode.com"
8 depends=('fuse' 'curlpp')
14 _svntrunk="http://vkfs.googlecode.com/svn/trunk/"
19 msg "Downloading from ${_svntrunk} ..."
21 if [ -d ${_svnmod}/.svn ]; then
22 (cd ${_svnmod} && svn up -r ${pkgver})
24 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
26 msg2 "SVN checkout done or server timeout"
28 msg "Creating temporary build directory..."
29 rm -Rf ${_svnmod}-build
30 cp -r ${_svnmod} ${_svnmod}-build
33 msg "Building and installing..."
35 install -Dm755 bin/vkfs ${pkgdir}/usr/bin/vkfs
37 msg "Removing build directory..."
39 rm -Rf ${_svnmod}-build