desktop/lyx/PKGBUILD
2011-05-03 20:22:08 +00:00

36 lines
1.0 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=lyx
pkgver=2.0.0
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' 'icu')
optdepends=('texlive-latex3: pdf export')
license=('GPL')
source=(ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz \
lyx.desktop)
md5sums=('005dc04ad01e1b2bd92ec86b6235f8b1'
'0a7a76d3d9682f8d18ef0ed002b6d6e8')
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
}