diff options
Diffstat (limited to 'src/control.sh')
-rwxr-xr-x | src/control.sh | 10 |
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 | ||
2 | VERSION=${VERSION:-$(TZ=UTC date -Is | tr -d :- | tr T . | sed 's/+.*//')} | ||
3 | cat - "$@" <<END | ||
4 | Package: $(basename $(pwd)) | ||
5 | Source: $(basename $(pwd)) | ||
6 | Version: ${VERSION} | ||
7 | Architecture: $(dpkg-architecture -q DEB_BUILD_ARCH) | ||
8 | Origin: local | ||
9 | Maintainer: root <root@localhost> | ||
10 | END | ||