xbps-src::python-module: remove wrong sed subst.

This commit is contained in:
Juan RP 2011-02-10 16:28:46 +01:00
parent d29645c54c
commit 5957cdf811
1 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,7 @@
do_build() do_build()
{ {
python setup.py build ${make_build_args} || return 1 python setup.py build ${make_build_args}
} }
do_install() do_install()
@ -12,8 +12,5 @@ do_install()
if [ -z "$make_install_args" ]; then if [ -z "$make_install_args" ]; then
make_install_args="--prefix=/usr --root=$DESTDIR" make_install_args="--prefix=/usr --root=$DESTDIR"
fi fi
python setup.py install ${make_install_args}
cd ${wrksrc} || return 1
sed -i 's|man/man1|share/man/man1|g' setup.py || return 1
python setup.py install ${make_install_args} || return 1
} }