1 # Contributor: Drew Desai <alerante@yahoo.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
7 pkgdesc="A small prototype-based programming language"
8 url="http://www.iolanguage.com"
10 arch=('i686' 'x86_64')
13 _gitroot='git://github.com/stevedekorte/io.git'
20 msg "Connecting to github GIT server..."
21 if [ -d $srcdir/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 [ -d $srcdir/$_gitname-build ] && rm -r $srcdir/$_gitname-build
29 cp -r $srcdir/io $srcdir/io-build
31 install -d $pkgdir/usr/{bin,lib,include}
32 make INSTALL_PREFIX=$pkgdir/usr || return 1
33 make INSTALL_PREFIX=$pkgdir/usr install || return 1
34 install -Dm644 $srcdir/io/license/bsd_license.txt \
35 $pkgdir/usr/share/licenses/io-git/bsd_license.txt || return 1