From c9e138c5e8e589efa82e2b3cad189806dc35d981 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 26 May 2018 00:07:01 +0300 Subject: Update tcell and include tcell database in debian package --- scripts/package | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/package') 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 -- cgit v1.2.3