2010-06-03 07:12:46 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-07-04 01:00:08 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
pkgname=lyx
|
2012-11-12 12:14:36 +08:00
|
|
|
pkgver=2.0.5
|
2011-02-10 00:51:05 +08:00
|
|
|
pkgrel=1
|
2010-06-03 07:12:46 +08:00
|
|
|
pkgdesc="An advanced open-source document processor."
|
2012-11-12 12:14:36 +08:00
|
|
|
arch=('x86_64')
|
2010-06-03 07:12:46 +08:00
|
|
|
url="http://www.lyx.org"
|
2012-01-01 02:59:55 +08:00
|
|
|
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'boost-libs' 'icu')
|
|
|
|
makedepends=('boost')
|
2010-06-03 07:12:46 +08:00
|
|
|
optdepends=('texlive-latex3: pdf export')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('office')
|
2010-06-03 07:12:46 +08:00
|
|
|
license=('GPL')
|
2012-11-12 12:14:36 +08:00
|
|
|
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz" \
|
|
|
|
'lyx.desktop')
|
2012-07-04 01:00:08 +08:00
|
|
|
screenshot=('http://www.lyx.org/images/about/main_window.png')
|
2012-11-12 12:14:36 +08:00
|
|
|
md5sums=('6728dbf371b40dffe58e9861767aeefb'
|
2010-11-19 22:59:40 +08:00
|
|
|
'0a7a76d3d9682f8d18ef0ed002b6d6e8')
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-frontend=qt4 --without-included-boost
|
2012-07-04 01:00:08 +08:00
|
|
|
make
|
2011-09-07 10:34:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
# install desktop entry
|
2011-09-07 10:34:16 +08:00
|
|
|
install -Dm644 "${srcdir}/lyx.desktop" "${pkgdir}/usr/share/applications/lyx.desktop"
|
2010-06-03 07:12:46 +08:00
|
|
|
}
|