1 #Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
5 pkgdesc="Wrapper around unionfs-fuse that uses a file-based branches configuration."
7 url="https://gist.github.com/849049"
8 license=('custom:WTFPL')
10 depends=('unionfs-fuse')
12 source=(http://sam.zoy.org/wtfpl/COPYING)
13 md5sums=('389a9e29629d1f05e115f8f05c283df5')
15 _gitroot="http://github.com/gist/849049.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
38 install -Dm755 "$srcdir/$_gitname-build/modfs.sh" "$pkgdir/usr/bin/modfs"
39 install -Dm644 "$srcdir/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"