PKGBUILD 1.04 KB
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1 2 3 4 5 6 7 8 9 10
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf

pkgname=lyx
Giuseppe Calà's avatar
Giuseppe Calà committed
11
pkgver=1.6.8
12
pkgrel=2
Manuel Tortosa's avatar
Manuel Tortosa committed
13 14 15 16 17 18 19 20
pkgdesc="An advanced open-source document processor."
arch=('i686' 'x86_64')
url="http://www.lyx.org"
depends=('qt' 'texlive-core' 'python' 'perl' 'imagemagick' 'aspell' 'boost>=1.41.0')
optdepends=('texlive-latex3: pdf export')
license=('GPL')
source=(ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$pkgname-$pkgver.tar.bz2 \
	lyx.desktop)
Giuseppe Calà's avatar
Giuseppe Calà committed
21 22
md5sums=('90d1ffbf5e84c731ae296d83e0c319b1'
         '0a7a76d3d9682f8d18ef0ed002b6d6e8')
Manuel Tortosa's avatar
Manuel Tortosa committed
23 24 25 26 27 28 29 30 31 32 33 34 35

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
}