Update tcell and include tcell database in debian package

This commit is contained in:
Tulir Asokan
2018-05-26 00:07:01 +03:00
parent 524e9b7faf
commit c9e138c5e8
8 changed files with 499 additions and 228 deletions

View File

@ -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