[arch-commits] Commit in lyx/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Sat Sep 4 05:06:43 UTC 2010


    Date: Saturday, September 4, 2010 @ 01:06:43
  Author: remy
Revision: 89785

upgpkg: lyx 1.6.7-2
Rebuild for python2 (point to python2).

Modified:
  lyx/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-04 05:06:10 UTC (rev 89784)
+++ PKGBUILD	2010-09-04 05:06:43 UTC (rev 89785)
@@ -4,11 +4,11 @@
 
 pkgname=lyx
 pkgver=1.6.7
-pkgrel=1
+pkgrel=2
 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-libs')
+depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'aiksaurus' 'boost-libs')
 makedepends=('boost')
 optdepends=('texlive-latex3: pdf export')
 license=('GPL')
@@ -19,7 +19,8 @@
 
 build() {
   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
   ./configure --prefix=/usr \
     --with-frontend=qt4 --without-included-boost
   make || return 1




More information about the arch-commits mailing list