1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
5 pkgdesc="Basic library to calculate panoramical pictures - core functions of the panotools"
6 url="http://panotools.sourceforge.net/"
9 depends=('libpng' 'libtiff')
10 makedepends=('subversion')
11 provides=('libpano13=2.9.17')
12 conflicts=('libpano13')
17 _svntrunk="https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano"
22 msg "Connecting to $_svnmod.sourceforge.net SVN server...."
23 if [ -d $_svnmod/.svn ]; then
24 cd $_svnmod && svn up -r $pkgver
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 if [ -e "$srcdir"/$_svnmod-build ]; then
32 rm -rf "$srcdir"/$_svnmod-build
35 mkdir -p "$srcdir"/$_svnmod-build
36 cd "$srcdir"/$_svnmod-build
38 "$srcdir"/$_svnmod/bootstrap --prefix=/usr --with-java=no --mandir=/usr/share/man
43 cd "$srcdir"/$_svnmod-build
44 make DESTDIR="$pkgdir" install