1 # Contributor: tocer <tocer.deng@gmail.com>
5 pkgdesc="Utility for manipulating virtual disk images"
7 url="http://github.com/przemoc/vidma"
11 #source=($pkgname-$pkgver.tar.gz)
12 _gitroot="git://github.com/przemoc/vidma.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
38 ./configure --prefix=/usr || return 1
40 make install DESTDIR=$pkgdir