1 # Contributor: Andrwe Lord Weber <lord-weber-andrwe at renona-studios.org>
6 pkgdesc="A pdf viewer which behaves like Vim."
8 url="http://code.google.com/p/apvlv/"
10 depends=('poppler-glib')
11 makedepends=('subversion')
16 _svntrunk="http://apvlv.googlecode.com/svn/trunk/"
17 _svnmod="apvlv-read-only"
22 if [ -d "${_svnmod}"/.svn ]
24 msg "Starting SVN update ..."
27 msg "... updating finished."
29 msg "Starting SVN checkout ..."
30 svn co ${_svntrunk} --config-dir ./ ${_svnmod}
31 msg "... checkout finished."
34 if [ -d "${srcdir}/${_svnmod}-build" ]
36 rm -rf "${srcdir}/${_svnmod}-build"
39 cp -r "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
40 cd "${srcdir}/${_svnmod}-build"
42 msg "Starting make..."
44 sh ./autogen.sh --prefix=/usr --disable-debugger --enable-libao
45 ./configure --prefix "/usr/"
47 make DESTDIR="${pkgdir}/" install