Jeff Carr fbf9f4e802 | ||
---|---|---|
deb.extraction-tests | ||
examples | ||
resources | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
addRepo.go | ||
argv.go | ||
buildPackage.go | ||
control | ||
controlBox.go | ||
main.go | ||
postinst | ||
readControlFile.go | ||
stateWindow.go |
README.md
go-deb
Makes a debian package from a go git repository
Usage (puts .deb in ~/incoming/) :
- go-deb --auto --repo go.wit.com/apps/go-clone
Notes
Make a 'control' file for the debian package. You can also make a custom 'build' script to run to place additional files in the debian package. Compiles go with ldflags for main.VERSION.
TODO:
- Make the sources
- Make it compatible with debuild
- handle arches [amd64, any, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x, source]