Makes debian packages from go git repos
Go to file
Jeff Carr df17901f47 fix arch 'all' example 2024-11-16 11:00:46 -06:00
deb.extraction-tests .deb file format for non-debian systems 2024-03-01 19:43:01 -06:00
examples fix arch 'all' example 2024-11-16 11:00:46 -06:00
resources blank.so causes resources/ to not fail 2024-11-07 04:53:46 -06:00
.gitignore initial commit 2024-02-11 01:00:05 -06:00
LICENSE initial commit 2024-02-11 01:00:05 -06:00
Makefile add an example to build a custom .deb 2024-11-16 09:49:49 -06:00
README.md fix makefile 2024-11-16 00:05:07 -06:00
addRepo.go add argv --keep-files 2024-11-06 15:52:43 -06:00
argv.go fix makefile 2024-11-16 00:05:07 -06:00
buildPackage.go add an example to build a custom .deb 2024-11-16 09:49:49 -06:00
control omg. never did os.UserHomeDir() 2024-11-06 16:31:23 -06:00
controlBox.go fix arch 'all' example 2024-11-16 11:00:46 -06:00
main.go add an example to build a custom .deb 2024-11-16 09:49:49 -06:00
postinst cleanup files/ after packaging 2024-03-02 15:58:56 -06:00
readControlFile.go fix arch 'all' example 2024-11-16 11:00:46 -06:00
stateWindow.go add an example to build a custom .deb 2024-11-16 09:49:49 -06:00

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]