Date: Thursday, October 7, 2010 @ 04:56:26 Author: remy Revision: 94427
Replace references to python by python2 Modified: gstreamer0.10-python/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-10-07 07:05:17 UTC (rev 94426) +++ PKGBUILD 2010-10-07 08:56:26 UTC (rev 94427) @@ -3,7 +3,7 @@ pkgname=gstreamer0.10-python pkgver=0.10.18 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings for GStreamer 0.10" arch=('i686' 'x86_64') license=('LGPL') @@ -16,7 +16,12 @@ build() { cd "${srcdir}/gst-python-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + sed -i -e 's%^#!.*env python$%#!/usr/bin/env python2%' examples/* gst/extend/*.py + ./configure --prefix=/usr + make } + +package() { + cd "${srcdir}/gst-python-${pkgver}" + make DESTDIR="${pkgdir}" install +}