#!/bin/sh MAKEDEPS="python" DEPS="" PKG_VER=0.18.1 SOURCE=https://files.pythonhosted.org/packages/57/b1/b880503681ea1b64df05106fc7e3c4e3801736cf63deffc6fa7fc5404cf5/docutils-$PKG_VER.tar.gz DESC="Docutils -- Python Documentation Utilities" build() { python setup.py build } package () { python setup.py install --root="$PKG_DEST" --optimize=1 for f in $PKG_DEST/usr/bin/*.py; do echo $f -> $(basename $f ) ln -s $(basename $f) ${f%.*} done }