summaryrefslogtreecommitdiff
path: root/extra/lyx/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /extra/lyx/PKGBUILD
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
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