1 # Contributor: mr_chapendi <mr.chapendi@gmail.com>
5 pkgdesc="Potion is an object- and mixin-oriented (traits) language."
7 url="http://github.com/fogus/potion/"
14 _gitroot="git://github.com/fogus/potion.git"
19 msg "Connecting to the potion git repository..."
21 if [ -d "$srcdir/$_gitname" ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
33 rm -rf $_gitname-build
34 git clone $_gitname $_gitname-build
37 # It will not build correctly in parallel.
38 make potion -j1 || return 1
40 install -D potion $pkgdir/usr/bin/potion