projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f825870
)
Add basic debian build script.
author
Carl Hetherington
<cth@carlh.net>
Sat, 8 Dec 2012 16:03:26 +0000
(16:03 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 8 Dec 2012 16:03:26 +0000
(16:03 +0000)
builds/deb
[new file with mode: 0755]
patch
|
blob
diff --git a/builds/deb
b/builds/deb
new file mode 100755
(executable)
index 0000000..
5425f6d
--- /dev/null
+++ b/
builds/deb
@@ -0,0
+1,17
@@
+#!/bin/bash
+
+./waf dist
+rm -rf build/deb
+mkdir build/deb
+cd build/deb
+mv ../../*.tar.bz2 .
+TARBALL=`ls -1 *.tar.bz2`
+DEB_TARBALL=`echo $TARBALL | sed -e "s/dvdomatic-/dvdomatic_/" | sed -e "s/.tar.bz2/.orig.tar.bz2/"`
+echo "Renaming $TARBALL to $DEB_TARBALL"
+mv $TARBALL $DEB_TARBALL
+tar xjf $DEB_TARBALL
+cd dvdomatic-*
+dpkg-source -b .
+dpkg-buildpackage
+cp ../*.deb ../../../
+