diff options
author | sibel <lesibel@free.fr> | 2010-12-29 07:43:42 +0000 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-29 07:43:42 +0000 |
commit | 99ffeb41304fda3c8b61f4de06cd05944d14f570 (patch) | |
tree | 3c3edb9a0b1efdd302b410721e842989542f23f5 /extra/mutagen/Pkgfile | |
parent | 7f2409216087e972794e6505f81583acae17dd8f (diff) | |
download | nutyx-extra-99ffeb41304fda3c8b61f4de06cd05944d14f570.tar.gz nutyx-extra-99ffeb41304fda3c8b61f4de06cd05944d14f570.tar.bz2 nutyx-extra-99ffeb41304fda3c8b61f4de06cd05944d14f570.tar.xz nutyx-extra-99ffeb41304fda3c8b61f4de06cd05944d14f570.zip |
mutagen#1.20-1, maj port
Diffstat (limited to 'extra/mutagen/Pkgfile')
-rw-r--r-- | extra/mutagen/Pkgfile | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |