mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
38 lines
1021 B
Bash
38 lines
1021 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
|
|
|
|
pkgname=lyx
|
|
pkgver=2.0.6
|
|
pkgrel=2
|
|
pkgdesc="An advanced open-source document processor"
|
|
arch=('x86_64')
|
|
url="http://www.lyx.org"
|
|
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'boost-libs' 'icu')
|
|
makedepends=('boost')
|
|
optdepends=('texlive-most: TeX Live goodies')
|
|
categories=('office')
|
|
license=('GPL')
|
|
source=("ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$pkgname-$pkgver.tar.xz" 'lyx.desktop')
|
|
screenshot=('http://www.lyx.org/images/about/main_window.png')
|
|
md5sums=('9263fb53a5f878d67b00e2d8aec9748a'
|
|
'a511db621c56ff56383496533db3701a')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr \
|
|
--with-frontend=qt4 --without-included-boost
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# install desktop entry
|
|
install -Dm644 "${srcdir}/lyx.desktop" "${pkgdir}/usr/share/applications/lyx.desktop"
|
|
}
|