Files
Arch-R/packages/python/databases/pysqlite/build
2009-05-16 23:35:27 +02:00

22 lines
488 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build Python
$SCRIPTS/build sqlite
. config/options.python
cd $PKG_BUILD
$PYTHON setup.py install --prefix /usr --root .install
find .install -name "*.py" -type f -exec rm -rf "{}" ";"
find .install -name "*.pyo" -type f -exec rm -rf "{}" ";"
find .install -name "tests" -type d -exec rm -rf "{}" ";"
rm -rf .install/usr/bin
rm -rf .install/usr/pysqlite2-doc
rm -rf .install/usr/lib/python*/site-packages/pysqlite2/test