summaryrefslogtreecommitdiff
path: root/community/mlt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mlt/PKGBUILD')
-rw-r--r--community/mlt/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/mlt/PKGBUILD b/community/mlt/PKGBUILD
index bb3e9d023..558e6dd11 100644
--- a/community/mlt/PKGBUILD
+++ b/community/mlt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65327 2012-02-21 01:36:41Z spupykin $
+# $Id: PKGBUILD 69518 2012-04-17 19:42:41Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
# Contributor: funkyou <spamopfer@nickname.berlin.de>
@@ -8,7 +8,7 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.7.8
-pkgrel=1
+pkgrel=2
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
@@ -20,7 +20,7 @@ md5sums=('4bdce45d832e065ac4c8c8ca56765e1d')
build() {
# mlt
- cd $srcdir/mlt-$pkgver
+ cd "$srcdir/mlt-$pkgver"
# [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
SSE2=--disable-sse2
@@ -33,7 +33,7 @@ build() {
make
# mlt python bindings
- cd $srcdir/mlt-$pkgver/src/swig/python
+ cd "$srcdir/mlt-$pkgver/src/swig/python"
sed -i 's_path=`which python_path=`which python2_' build
sed -i 's_`python -c_`python2 -c_' build
sed -i 's#python-config#python2-config#' build
@@ -45,16 +45,16 @@ package_mlt() {
optdepends=('jack' 'libexif' 'qt' 'gtk2' "ladspa")
conflicts=('mlt++<=0.3.8')
- cd $srcdir/mlt-$pkgver
- make DESTDIR=$pkgdir install
+ cd "$srcdir/mlt-$pkgver"
+ make DESTDIR="$pkgdir" install
}
package_mlt-python-bindings() {
depends=('python2' 'mlt')
- cd $srcdir/mlt-$pkgver/src/swig/python
- mkdir -p $pkgdir/usr/lib/python2.7/
- install -m755 mlt.py $pkgdir/usr/lib/python2.7/
- install -m755 _mlt.so $pkgdir/usr/lib/python2.7/
- install -m755 mlt_wrap.o $pkgdir/usr/lib/python2.7/
+ cd "$srcdir/mlt-$pkgver/src/swig/python"
+ mkdir -p "$pkgdir/usr/lib/python2.7/"
+ install -m755 mlt.py "$pkgdir/usr/lib/python2.7/"
+ install -m755 _mlt.so "$pkgdir/usr/lib/python2.7/"
+ install -m755 mlt_wrap.o "$pkgdir/usr/lib/python2.7/"
}