2015-02-10 11:45:58 +08:00
|
|
|
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
|
|
|
|
# Contributer: Ernesto Manriquez <alejandronova@gmail.com>
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
pkgname=lyx
|
2015-02-10 11:45:58 +08:00
|
|
|
pkgver=2.1.3
|
2015-02-18 19:13:50 +08:00
|
|
|
pkgrel=2
|
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"
|
2014-04-27 21:31:19 +08:00
|
|
|
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'enchant' 'libmythes' 'boost-libs' 'icu')
|
|
|
|
makedepends=('boost' 'bc')
|
|
|
|
optdepends=('texlive-most: TeX Live goodies'
|
|
|
|
'kbibtex: BibTeX reference manager')
|
2010-06-03 07:12:46 +08:00
|
|
|
license=('GPL')
|
2014-04-27 21:31:19 +08:00
|
|
|
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/$pkgname-$pkgver.tar.xz"
|
|
|
|
'lyx.desktop'
|
|
|
|
'lyxrc.dist')
|
2012-07-04 01:00:08 +08:00
|
|
|
screenshot=('http://www.lyx.org/images/about/main_window.png')
|
2015-02-10 11:45:58 +08:00
|
|
|
md5sums=('b5794984a810a6cdc52675b1e5801914'
|
2014-11-17 14:13:38 +08:00
|
|
|
'3827d343670a38d97bdc7e002ff1e4a1'
|
2014-04-27 21:31:19 +08:00
|
|
|
'b70fdeab95ba4a6c3ff72410dfa61823')
|
2010-06-03 07:12:46 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2014-11-17 14:13:38 +08:00
|
|
|
--with-frontend=qt4 \
|
|
|
|
--without-included-boost \
|
|
|
|
--without-included-mythes
|
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"
|
2014-11-17 14:13:38 +08:00
|
|
|
install -Dm644 "lib/images/lyx.png" "${pkgdir}/usr/share/pixmaps/lyx.png"
|
2014-04-27 21:31:19 +08:00
|
|
|
|
|
|
|
# install default config file
|
|
|
|
install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/usr/share/lyx/lyxrc.dist"
|
2010-06-03 07:12:46 +08:00
|
|
|
}
|