1 # Contributor: Michael Fellinger <mf@rubyists.com>
5 pkgdesc="Experimental, high-performance, implicitly parallel, deadlock-free general-purpose dataflow programming language"
7 url="https://code.google.com/p/anic/"
11 makedepends=('mercurial')
18 source=(uintptr.patch)
20 md5sums=('561bd88c3f36deeaeee016bd377000b6')
22 _hgroot="https://anic.googlecode.com/hg"
27 msg "Connecting to Mercurial server...."
29 if [ -d $_hgrepo ] ; then
31 hg pull -u || return 1
32 msg "The local files are updated."
34 hg clone $_hgroot $_hgrepo || return 1
37 msg "Mercurial checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_hgrepo-build"
41 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
42 cd "$srcdir/$_hgrepo-build"
49 patch -p1 -i "${srcdir}/uintptr.patch" || return 1
52 install -D -m755 anic $pkgdir/bin/anic
53 install -D -m644 man/anic.1 $pkgdir/usr/share/man/man1/anic.1
54 # make DESTDIR="$pkgdir/" install || return 1