4 pkgdesc="an object-orientend programming language"
7 url="http://ooc-lang.org/"
9 makedepends=('git' 'apache-ant')
13 _gitroot="git://github.com/nddrylliog/ooc.git"
15 _ant="/usr/share/java/apache-ant/bin/ant"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
32 rm -rf "$srcdir/$pkgname-$pkgver"
33 cp -r "$srcdir/$_gitname" "$srcdir/$pkgname-$pkgver"
34 cd "$srcdir/$pkgname-$pkgver"
38 install -d $pkgdir/opt/ooc/ || return 1
39 install -D -m755 utils/ooc $pkgdir/usr/bin/ooc || return 1
40 cp -rp bin $pkgdir/opt/ooc || return 1
41 cp -rp libs $pkgdir/opt/ooc || return 1
42 cp -rp sdk $pkgdir/opt/ooc || return 1