Files
Arch-R/packages/python/databases/pysqlite/build
Stephan Raue de71016fb4 initial import
2009-03-18 13:02:53 +01: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 $BUILD/$1*
$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