diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-03 10:03:25 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-03 10:03:25 +0300 |
commit | 93cbdc0ca88d46454b96043d8baf4b231e91474a (patch) | |
tree | 0db78cb9e3c2e3ec85c01f61261fe7d72c83453b /scripts/package | |
parent | b796c2e2092f3ed41e607382a798d27e3e11b914 (diff) |
Add debian packaging and some build scripts
Diffstat (limited to 'scripts/package')
-rwxr-xr-x | scripts/package | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/package b/scripts/package new file mode 100755 index 0000000..158439f --- /dev/null +++ b/scripts/package @@ -0,0 +1,6 @@ +#!/bin/bash +mkdir -p deb/usr/bin/ +mkdir -p target/ +go build -o deb/usr/bin/gomuks +version=$(cat deb/DEBIAN/control | grep Version | awk '{ print $2 }') +dpkg-deb --build deb target/gomuks-$version.deb |