4 pkgdesc='Evented I/O for V8 javascript (git)'
6 license=('custom:nodejs')
7 url="http://www.nodejs.org"
9 makedepends=('git' 'python')
11 _gitroot="git://github.com/ry/node.git"
14 msg "Connecting to GIT server..."
15 if [[ -d $srcdir/$pkgname-$pkgver ]]; then
16 cd $srcdir/$pkgname-$pkgver && git pull origin || return 1
18 git clone $_gitroot $srcdir/$pkgname-$pkgver || return 1
19 cd $srcdir/$pkgname-$pkgver
22 msg "GIT checkout done or server timeout"
24 ./configure --prefix=/usr || return 1
26 tools/waf-light install --destdir=$pkgdir || return 1