# # Apps Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=lyx pkgver=1.6.6 pkgrel=1 pkgdesc="An advanced open-source document processor." arch=('i686' 'x86_64') url="http://www.lyx.org" depends=('qt' 'texlive-core' 'python' 'perl' 'imagemagick' 'aspell' 'boost>=1.41.0') optdepends=('texlive-latex3: pdf export') license=('GPL') source=(ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$pkgname-$pkgver.tar.bz2 \ lyx.desktop) md5sums=('e4f209a46b7c8a75418bf1091e4619ff' 'c11db315dc99254a4118827f98922623') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-frontend=qt4 --without-included-boost make || return 1 make DESTDIR=${pkgdir} install || return 1 # install desktop entry install -Dm644 ${srcdir}/lyx.desktop \ ${pkgdir}/usr/share/applications/lyx.desktop || return 1 }