gomuks/scripts/package
2018-05-03 10:03:25 +03:00

7 lines
200 B
Bash
Executable File

#!/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