1 # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
5 pkgdesc="A userspace I/O forwarding server that implements 9p2000.L"
7 url="http://code.google.com/p/diod/"
20 md5sums=() #generate with 'makepkg -g'
22 #_gitroot="https://github.com/chaos/diod.git"
23 _gitroot="git://github.com/chaos/diod.git"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
45 ./configure --prefix=/usr CFLAGS=-O2
50 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir/" install