aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-26 00:07:01 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-26 00:07:01 +0300
commitc9e138c5e8e589efa82e2b3cad189806dc35d981 (patch)
treed74d2852947a666e471992b8841af5c6c1263849 /scripts/package
parent524e9b7faf230f6a9af8718fb877cfd1dad9ddc5 (diff)
Update tcell and include tcell database in debian package
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/package b/scripts/package
index 158439f..6b38a00 100755
--- a/scripts/package
+++ b/scripts/package
@@ -1,6 +1,13 @@
#!/bin/bash
mkdir -p deb/usr/bin/
mkdir -p target/
+
go build -o deb/usr/bin/gomuks
+
+go get -u maunium.net/go/tcell
+mkdir -p deb/usr/share/tcell/
+rm -rf deb/usr/share/tcell/database
+cp -r $GOPATH/src/maunium.net/go/tcell/terminfo/database deb/usr/share/tcell
+
version=$(cat deb/DEBIAN/control | grep Version | awk '{ print $2 }')
dpkg-deb --build deb target/gomuks-$version.deb