1 # Contributor: Adria Arrufat <swiftscythe@gmail.com>
6 pkgdesc="An advanced open-source document processor."
8 url='http://www.lyx.org'
9 depends=('qt' 'texlive-core' 'python' 'perl' 'imagemagick' 'aspell' 'aiksaurus' 'boost')
10 optdepends=('texlive-latex3: pdf export')
11 makedepends=('bc' 'cmake' 'subversion')
13 source=('lyx.desktop' 'lyx.png')
14 md5sums=('c11db315dc99254a4118827f98922623'
15 'fcbfb9c9d4716f69ae8c64cf13e9a6fb')
17 _svntrunk=svn://svn.lyx.org/lyx/lyx-devel/trunk
21 svn co $_svntrunk $_svnmod
23 msg "SVN checkout done or server timeout"
24 msg "Starting make..."
26 cp -r $_svnmod $_svnmod-build
29 ./configure --prefix=/usr \
30 --with-frontend=qt4 --enable-build-type=release
32 make -j 2 DESTDIR=${pkgdir} install || return 1
34 # install desktop entry
35 install -Dm644 ${srcdir}/lyx.desktop \
36 ${pkgdir}/usr/share/applications/lyx.desktop || return 1
37 cp ${srcdir}/lyx.png ${pkgdir}/usr/share/lyx/images/lyx.png