summaryrefslogtreecommitdiff
path: root/extra/lyx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lyx/PKGBUILD')
-rw-r--r--extra/lyx/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/lyx/PKGBUILD b/extra/lyx/PKGBUILD
index 069a8e373..e67dfe54f 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 176293 2013-01-28 16:48:26Z stephane $
+# $Id: PKGBUILD 178970 2013-03-01 10:22:14Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=lyx
pkgver=2.0.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
arch=('i686' 'x86_64')
url="http://www.lyx.org"
-depends=('qt' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
+depends=('qt4' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
makedepends=('boost')
optdepends=('rcs: built-in version control system'
'texlive-latexextra: float wrap support')
@@ -23,6 +23,8 @@ sha1sums=('a822e99484c1652c4df5df717819dd7048fcff75'
'56416642cc3da2a13b87b84e6b87c1a239f3d09a')
build() {
+ . /etc/profile.d/qt4.sh
+
cd "${srcdir}/${pkgname}-${pkgver}"
find . -type f -exec sed -i 's|#!.*python|#!/usr/bin/env python2|' {} +
sed -i 's|"python|"python2|' lib/configure.py src/support/os.cpp