Index: unk/cereal/build-pkg
===================================================================
--- /trunk/cereal/build-pkg	(revision 413)
+++ 	(revision )
@@ -1,49 +1,0 @@
-#!/bin/bash -e
-
-# (C) 2007 Daniel Kahn Gillmor <dkg-debian.org>
-# This file is released under the GNU GPL v2 or later
-
-# run this script from the top level of your working directory to
-# build a debian package in ./build
-
-# you must have the svn and devscripts packages installed.
-
-##################################################
-
-# find the program name from the svn directory
-PGM=$(basename $(pwd))
-
-# find the repository path:
-REPO=$(svn info | grep ^URL:\  | awk '{ print $2 }')
-
-# extract the upstream version number from the changelog:
-VERS=$(head -n1 "debian/changelog" | awk '{ print $2 }' | sed 's/-.*$//' | sed 's|[^[:digit:].]||g' )
-
-TARBALL="${PGM}_${VERS}.tar.gz"
-DEBTARBALL="${PGM}_${VERS}.orig.tar.gz"
-BUILDIR="${PGM}-${VERS}"
-
-# clean out the build directory:
-rm -rf "build/${BUILDIR}"
-
-# build upstream tarball if it doesn't already exist
-if [ -a "build/$TARBALL" ] ; then
-    echo "upstream tarball $TARBALL already exists.  leaving untouched."
-else
-    echo "building upstream tarball $TARBALL."
-
-    make "VERSION=${VERS}" release
-
-    ln -sf "$TARBALL" "build/$DEBTARBALL"
-fi
-
-tar xzf "build/${DEBTARBALL}" -C build
-
-# export the baseline from the repo into a clean directory:
-svn export "${REPO}/debian" "build/${BUILDIR}/debian"
-
-# apply any unapplied changes from the wd to the building copy:
-svn diff debian | (cd "build/${BUILDIR}/debian" && patch -p1)
-
-# actually build:
-(cd "build/${BUILDIR}" && debuild -uc -us)
