updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / wxcurl-svn / PKGBUILD
blob6ccd3ec6615fe69733c11d21920b44dc70c03cfe
1 # Contributor: napa3um <napa3um@gmail.com>
3 pkgname=wxcurl-svn
4 pkgver=839
5 pkgrel=2
6 pkgdesc="wxCURL is a simplified and integrated interface between LibCURL and wxWidgets."
7 arch=('i686' 'x86_64')
8 url="http://wxcode.sourceforge.net/components/wxcurl/"
9 license=('custom:wxWindows')
10 depends=('wxgtk' 'curl')
11 makedepends=('subversion' 'curl')
12 conflicts=('wxcurl')
13 provides=('wxcurl')
14 source=()
15 md5sums=()
17 _svntrunk="https://wxcode.svn.sourceforge.net/svnroot/wxcode/trunk/wxCode/components/wxcurl/"
18 _svnmod="wxcurl"
20 # svn co https://wxcode.svn.sourceforge.net/svnroot/wxcode/trunk/wxCode/components/wxcurl/
22 build() {
23   cd ${srcdir}
25   if [ -d $_svnmod/.svn ]; then
26     (cd $_svnmod && svn up -r $pkgver)
27   else
28     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29   fi
31   msg "SVN checkout done or server timeout"
32   msg "Starting make..."
34   cp -r $_svnmod $_svnmod-build
35   cd $_svnmod-build
37   ./configure --prefix=/usr
38   make || return 1
39   make DESTDIR=${pkgdir} install || return 1