1 # Contributor: Linus Sjögren <thelinx@unreliablepollution.net>
5 pkgdesc="Filesystems in Lua Userspace"
7 url="http://piratery.net/flu/"
10 makedepends=('mercurial' 'fuse')
12 _hgroot="http://hg.piratery.net"
17 msg "Connecting to Mercurial server...."
19 if [ -d $_hgrepo ] ; then
21 hg pull -u || return 1
22 msg "The local files are updated."
24 hg clone $_hgroot $_hgrepo || return 1
27 msg "Mercurial checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_hgrepo-build"
31 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
32 cd "$srcdir/$_hgrepo-build"
38 make install PREFIX=$pkgdir/usr
39 install -Dm0664 doc/LICENSE.txt \
40 $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt