1 # Maintaineer: Gergely Imreh <imrehgATgmailDOTcom>
2 # Contributor: Gergely Imreh <imrehgATgmailDOTcom>
6 pkgdesc="C library to parse and use Garmin image files."
7 url="http://libgarmin.sourceforge.net/"
10 makedepends=('subversion' 'autoconf')
12 provides=('libgarmin')
15 _svntrunk=http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $_svnmod $_svnmod-build
35 ./configure --prefix=/usr
37 make DESTDIR=${pkgdir} install || return 1
39 rm -rf ${srcdir}/$_svnmod-build