aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package6
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