1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
11 pkgdesc="Filesystem (fuse) implemented on Mosso's Cloud Files"
12 arch=('i686' 'x86_64')
13 url="https://github.com/redbo/cloudfuse"
16 depends=('fuse' 'curl' 'openssl' 'libxml2')
29 md5sums=() #generate with 'makepkg -g'
31 _gitroot=https://github.com/redbo/cloudfuse.git
38 if [[ -d $_gitname ]]; then
39 cd $_gitname && git pull origin && cd ..
44 rm -rf $_gitname-build
45 git clone $_gitname $_gitname-build
46 cd "$srcdir/$_gitname-build/"
47 ./configure --prefix=/usr
48 sed -i -e "/#include <curl\/types.h>/d" cloudfsapi.h
53 cd "$srcdir/$_gitname-build/"
54 make DESTDIR=$pkgdir install
58 # vim:set ts=2 sw=2 et: