[arch-commits] Commit in slv2/trunk (PKGBUILD)
Ray Rashif
schiv at archlinux.org
Thu Sep 23 12:09:26 UTC 2010
Date: Thursday, September 23, 2010 @ 08:09:25
Author: schiv
Revision: 91150
svl2: fix waf for python2; buildtime only; no need to release
Modified:
slv2/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-23 11:55:44 UTC (rev 91149)
+++ PKGBUILD 2010-09-23 12:09:25 UTC (rev 91150)
@@ -10,7 +10,7 @@
url="http://drobilla.net/software/slv2"
license=('GPL')
depends=('redland' 'lv2core' 'jack')
-makedepends=('python')
+makedepends=('python2')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://download.drobilla.net/$pkgname-$pkgver.tar.bz2)
@@ -19,11 +19,16 @@
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
}
package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
./waf install --destdir="$pkgdir/"
}
More information about the arch-commits
mailing list