1 # Contributor: shura <shura1991@gmail.com>
3 pkgname=falconpl-curl-svn
6 pkgdesc="The cURL lib binding for falcon programming language"
7 license=('custom:"GPLv2 or Falcon Programming Language License"')
8 url="http://www.falconpl.org"
10 makedepends=('cmake' 'subversion' 'falconpl')
11 provides=('falconpl-curl')
12 replace=('falcon-curl' 'falconpl-curl')
14 _svntrunk=svn://falconpl.org/falcon/modules/curl/trunk
23 if [[ -e $_svnmod/.svn ]]; then
26 svn co $_svntrunk --config-dir ./ $_svnmod
29 rm -Rf $srcdir/$_svnmod-build
30 cp -R $srcdir/$_svnmod $srcdir/$_svnmod-build
31 cd $srcdir/$_svnmod-build
33 msg "Configuring core package"
34 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . || return 1
35 msg "Compiling core package"
37 msg "Installing core package"
38 make DESTDIR=$pkgdir install || return 1
39 mkdir -p $startdir/pkg/usr/share/licenses/falcon || return 1
42 rm -Rf $startdir/$_svnmod-build