1 # Maintainer: Xavier Mehrenberger xavier.mehrenberger at gmail..com
6 pkgdesc="NTLM, NTLM2SR, NTLMv2 authenticating HTTP proxy - SVN version"
8 url="http://cntlm.sourceforge.net"
10 makedepends=('subversion')
12 backup=("etc/cntlm.conf")
17 _svntrunk=http://svn.awk.cz/cntlm/trunk
22 msg "Connecting to SVN server...."
24 if [[ -d "$_svnmod/.svn" ]]; then
25 (cd "$_svnmod" && svn up -r "$pkgver")
27 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
30 msg "SVN checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build"
40 ./configure --prefix=/usr
45 cd "$srcdir/$_svnmod-build"
46 make DESTDIR="$pkgdir/" install
49 # vim:set ts=2 sw=2 et: