7 lines
200 B
Bash
Executable File
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
|