1 # Maintainer: Maik Beckmann <beckmann dot maik at googlemail dot com>
5 pkgdesc="A truly multi-paradigm scripting language with good embed- and extensibility."
6 url="http://www.falconpl.org"
8 license=('custom:GPL or FPLL')
10 makedepends=('git' 'cmake')
12 provides=('falcon' 'falcon-feathers')
13 install=$pkgname.install
18 _gitroot="http://git.falconpl.org/falcon.git"
24 if [ -d ${_gitname} ] ; then
25 cd $_gitname && git pull origin
26 msg 'The local files are updated.'
28 msg 'getting sources...'
29 git clone $_gitroot $_gitname
34 mkdir build && cd build
36 # activates core, feathers and faldoc ( which is in apps/ )
38 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
39 -DFALCON_WITH_EDITLINE=on -DFALCON_WITH_INTERNAL_EDITLINE=off -DFALCON_WITH_GPL_READLINE=on \
40 -DFALCON_BUILD_FEATHERS=on \
41 -DFALCON_BUILD_APPS=on \
42 -DFALCON_BUILD_NATMODS=off \
43 -DFALCON_BUILD_FWKS=off \
48 # docs are optional, thus these targets have to be built explicitly
50 make feathers_module_docs
53 make DESTDIR=$pkgdir install
57 install -D -m644 $srcdir/falcon/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE