1 # Contributor: Zsolt Udvari <udvzsolt@gmail.com>
6 pkgdesc="FUSE-based virtual filesystem that allows filtering existing filesystems"
8 url="http://filterfs.sourceforge.net/"
13 _gitroot=git://filterfs.git.sourceforge.net/gitroot/filterfs/filterfs
20 # Download or update the library
21 msg "Connecting to GIT server over HTTP..."
22 if [[ -d "${_gitname}" ]]; then
23 (cd "${_gitname}" && git pull origin)
24 msg "The local repository was updated."
26 git clone "${_gitroot}" "${_gitname}"
27 msg "The remote repository was cloned."
29 msg "GIT sync done or server timeout."
32 gcc -Wall `pkg-config fuse --cflags --libs` $CFLAGS filterfs.c -o filterfs
36 cd "${srcdir}/${_gitname}"
38 install -d "${pkgdir}/usr/bin"
39 install -m755 "src/filterfs" "${pkgdir}/usr/bin"
41 install -d "${pkgdir}/usr/share/doc/filterfs"
42 install -m644 AUTHORS ChangeLog NEWS README "${pkgdir}/usr/share/doc/filterfs"