From 99ffeb41304fda3c8b61f4de06cd05944d14f570 Mon Sep 17 00:00:00 2001 From: sibel Date: Wed, 29 Dec 2010 07:43:42 +0000 Subject: mutagen#1.20-1, maj port --- extra/mutagen/Pkgfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extra/mutagen/Pkgfile') diff --git a/extra/mutagen/Pkgfile b/extra/mutagen/Pkgfile index f17a5ba84..597bfbbb4 100644 --- a/extra/mutagen/Pkgfile +++ b/extra/mutagen/Pkgfile @@ -5,14 +5,17 @@ # Depends on: python name=mutagen -version=1.19 +version=1.20 release=1 source=(http://mutagen.googlecode.com/files/$name-$version.tar.gz) build() { cd $name-$version - python setup.py install --root=$PKG + python2 setup.py install --root=$PKG mkdir -p $PKG/usr/bin install -m755 tools/* $PKG/usr/bin + + sed -i 's|^#!.*/usr/bin/env.*python|#!/usr/bin/env python2|' $PKG/usr/bin/* \ + $PKG/usr/lib/python2.7/site-packages/mutagen/__init__.py } -- cgit v1.2.3-70-g09d2