Here is one way to build the FEniCS meta-package:

VER=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p'`
mkdir -p fenics-$VER
cd fenics-$VER
cp -a ../debian .
rm -rf debian/.svn
dpkg-buildpackage
