updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / falcon-curl-svn / PKGBUILD
blob8efe320f00c66295aa2f62cfd578706060b8d209
1 # Contributor: shura <shura1991@gmail.com>
3 pkgname=falcon-curl-svn
4 pkgver=12
5 pkgrel=1
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"
9 arch=(i686 x86_64)
10 makedepends=('cmake' 'subversion')
11 depends=('falconpl' 'curl')
12 provides=('falcon-curl')
14 _svntrunk=svn://falconpl.org/falcon/modules/curl/trunk/
15 _svnmod=curl-build
17 build ()
19     cd $srcdir
21     if [[ -e $_svnmod ]]; then
22         sudo rm -Rf $_svnmod
23     fi
25     msg "getting sources"
26     svn co $_svntrunk $_svnmod
28     cd $_svnmod
30     msg "configuring package"
31     cmake . || return 1
32     msg "compiling package"
33     make || return 1
34     msg "installing package"
35     make install || return 1
36     cd ..
37     msg "cleaning"
38     rm -Rf $_svnmod