aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/pdebuild b/pdebuild
new file mode 100644
index 0000000..97ced20
--- /dev/null
+++ b/pdebuild
@@ -0,0 +1,8 @@
+#! /bin/bash
+set -e
+
+test -d ./debian
+. /usr/lib/pbuilder/pbuilder-checkparams
+$BUILDSOURCEROOTCMD dpkg-buildpackage -S || true
+$PBUILDERROOTCMD pbuilder build "$@" ../$(dpkg-parsechangelog|grep ^Source:| cut -d\ -f2 )_$(dpkg-parsechangelog|grep ^Version: | cut -d\ -f2).dsc
+