mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
931 B
Bash
31 lines
931 B
Bash
|
# $Id: PKGBUILD 51614 2009-09-09 22:37:40Z ronald $
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
# Contributor: Jason Chu <jason@archlinux.org>
|
||
|
|
||
|
pkgname=lyx
|
||
|
pkgver=1.6.4.1
|
||
|
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' 'aiksaurus' 'boost')
|
||
|
optdepends=('texlive-latex3: pdf export')
|
||
|
license=('GPL')
|
||
|
source=(ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$pkgname-$pkgver.tar.bz2 \
|
||
|
lyx.desktop)
|
||
|
md5sums=('c1a0da5aee3b7e1a2f74e8018805c7b1'
|
||
|
'c11db315dc99254a4118827f98922623')
|
||
|
|
||
|
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
|
||
|
}
|