updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vkfs-svn / PKGBUILD
bloba2596ec7aa7096788c8aad959f0739358d7c4af5
1 pkgname=vkfs-svn
2 pkgver=11
3 pkgrel=1
4 pkgdesc="FUSE filesystem for vk.com"                                                                                         
5 arch=('i686' 'x86_64')
6 url="http://vkfs.googlecode.com"
7 license=('GPL')
8 depends=('fuse' 'curlpp')
9 makedepends=()
10 optdepends=()
11 conflicts=()
12 provides=('vkfs')
14 _svntrunk="http://vkfs.googlecode.com/svn/trunk/"
15 _svnmod="vkfs"
18 build() {
19 msg "Downloading from ${_svntrunk} ..."
20   cd ${srcdir}
21   if [ -d ${_svnmod}/.svn ]; then
22     (cd ${_svnmod} && svn up -r ${pkgver})
23   else
24     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
25   fi
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
31   cd ${_svnmod}-build
33 msg "Building and installing..."  
34   make
35   install -Dm755 bin/vkfs ${pkgdir}/usr/bin/vkfs
37 msg "Removing build directory..."
38   cd ${srcdir}
39   rm -Rf ${_svnmod}-build