diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-29 08:49:19 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-29 09:15:47 -0400 |
commit | f8dbf7aef4f1b1648bd2980b62f2ef57d653e800 (patch) | |
tree | 6faa684ec4b4d82a9d2bf33c1576287ad1066668 /src/control.sh | |
parent | a35e328ca65bef9796e956fd6148ba770e93f03f (diff) |
renames
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 | ||