1 # Contributor: Geoffrey Teale <tealeg@googlemail.com>
2 pkgname=lib32-google-breakpad-svn
5 pkgdesc="An open-source multi-platform crash reporting system"
7 url="http://code.google.com/p/google-breakpad/"
10 makedepends=('subversion' 'gcc-multilib')
12 _svntrunk=http://google-breakpad.googlecode.com/svn/trunk
13 _svnmod=google-breakpad-read-only
18 if [ -d $_svnmod/.svn ]; then
19 (cd $_svnmod && svn up -r $pkgver)
21 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
27 rm -rf "$srcdir/$_svnmod-build"
28 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
29 cd "$srcdir/$_svnmod-build"
34 autoreconf -v --force --install || return 1
35 ./configure --enable-m32 --program-suffix=-32 \
36 --prefix=/usr --libdir=/usr/lib32 || return 1
38 make DESTDIR="$pkgdir/" install || return 1
39 # --docdir doesn't seem to affect this, I probably just don't
40 # understand autoconf...
41 mv "${pkgdir}/usr/share/doc/breakpad-0.1" "${pkgdir}/usr/share/doc/breakpad32-0.1"