2010-06-03 07:12:46 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2013-07-16 05:41:16 +08:00
|
|
|
# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
pkgname=lyx
|
2014-01-25 02:48:37 +08:00
|
|
|
pkgver=2.0.7
|
|
|
|
pkgrel=1
|
2013-07-16 05:41:16 +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')
|
2013-07-16 05:41:16 +08:00
|
|
|
optdepends=('texlive-most: TeX Live goodies')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('office')
|
2010-06-03 07:12:46 +08:00
|
|
|
license=('GPL')
|
2013-07-16 05:41:16 +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')
|
2014-01-25 02:48:37 +08:00
|
|
|
md5sums=('e5e16f3a4d2133c671caf5bf0f8857e7'
|
2013-07-16 05:41:16 +08:00
|
|
|
'a511db621c56ff56383496533db3701a')
|
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
|
|
|
}
|