summaryrefslogtreecommitdiff
path: root/src/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.sh')
-rwxr-xr-xsrc/control.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/control.sh b/src/control.sh
new file mode 100755
index 0000000..7106187
--- /dev/null
+++ b/src/control.sh
@@ -0,0 +1,10 @@
1#!/bin/sh
2VERSION=${VERSION:-$(TZ=UTC date -Is | tr -d :- | tr T . | sed 's/+.*//')}
3cat - "$@" <<END
4Package: $(basename $(pwd))
5Source: $(basename $(pwd))
6Version: ${VERSION}
7Architecture: $(dpkg-architecture -q DEB_BUILD_ARCH)
8Origin: local
9Maintainer: root <root@localhost>
10END