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

Ray Rashif schiv at archlinux.org
Thu Sep 23 12:14:03 UTC 2010


    Date: Thursday, September 23, 2010 @ 08:14:02
  Author: schiv
Revision: 91151

lv2core: fix waf for python2; buildtime only; no need to release

Modified:
  lv2core/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-23 12:09:25 UTC (rev 91150)
+++ PKGBUILD	2010-09-23 12:14:02 UTC (rev 91151)
@@ -8,7 +8,7 @@
 url="http://lv2plug.in/"
 license=('LGPL' 'custom')
 arch=('i686' 'x86_64')
-makedepends=('python')
+makedepends=('python2')
 changelog=$pkgname.changelog
 source=(http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2)
 md5sums=('382f7d96ff0374c0c495336e1c8bb999')
@@ -16,6 +16,9 @@
 build() {
 	cd "$srcdir/$pkgname-$pkgver"
 
+  # fix for python 2.7
+  sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' waf
+
 	./waf configure --prefix=/usr
 	./waf build $MAKEFLAGS
 }




More information about the arch-commits mailing list