1 # Maintainer: Jens Staal <staal1978@gmail.com>
6 pkgdesc="A cross platform implementation of the Apple Cocoa API."
9 url="http://www.cocotron.org/"
10 #For current info: http://groups.google.com/group/cocotron-dev/
11 #https://github.com/farcaller/cocotron/wiki/Building-Cocotron
12 depends=('cocotron-gcc' 'cmake')
13 makedepends=('mercurial')
19 # Update the repo, else clone a new one
20 if [ -d cocotron ]; then
25 hg clone https://cocotron.googlecode.com/hg/ cocotron
27 rm -rf $srcdir/cocotron/build # start fresh
28 mkdir $srcdir/cocotron/build
29 cd $srcdir/cocotron/build
30 cmake -DCMAKE_C_COMPILER=/opt/objc/bin/gcc \
31 -DCMAKE_CXX_COMPILER=/opt/objc/bin/g++ \
32 -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/objc ..
37 cd $srcdir/cocotron/build/