aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
blob: 158439fa5305e711601b4bd30d1ad95394f1cd7f (plain)
1
2
3
4
5
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