diff --git a/examples/gocomplete/build b/examples/gocomplete/build index bbc0ed8..2205244 100755 --- a/examples/gocomplete/build +++ b/examples/gocomplete/build @@ -1,6 +1,8 @@ #!/bin/bash -x +# cmd github.com/posener/complete/gocomplete + # this is the awesome gocomplete from github.com/posener/complete mkdir -p files/usr/bin -cp ~/go/bin/gocomplete files/usr/bin +cp ~/go/src/github.com/posener/complete/gocomplete/gocomplete files/usr/bin/ diff --git a/examples/gocomplete/control b/examples/gocomplete/control index 5424d50..782faf4 100644 --- a/examples/gocomplete/control +++ b/examples/gocomplete/control @@ -7,6 +7,6 @@ Architecture: amd64 Depends: GoPath: github.com/posener/complete Recommends: golang -Version: 0.0.1 +Version: 0.0.2 Description: gocomplete from posener This was packaged with go-deb from go.wit.com diff --git a/examples/goimports/Makefile b/examples/goimports/Makefile new file mode 100644 index 0000000..ecaad6a --- /dev/null +++ b/examples/goimports/Makefile @@ -0,0 +1,13 @@ +.PHONY: build + +# this is how the mirrors.wit.com debian package is created + +all: build + +build: + go-deb --repo . + +# use the ncurses gui (only kinda works still) +ncurses: + go-deb --gui gocui --repo . + diff --git a/examples/goimports/build b/examples/goimports/build new file mode 100755 index 0000000..c879b7f --- /dev/null +++ b/examples/goimports/build @@ -0,0 +1,5 @@ +#!/bin/bash -x + +# do nothing. this package is just an 'alias' +# since I never remember where goimport is +# (it's in golang-golang-x-tools) diff --git a/examples/goimports/control b/examples/goimports/control new file mode 100644 index 0000000..7c5148b --- /dev/null +++ b/examples/goimports/control @@ -0,0 +1,13 @@ +Source: +Package: goimports +Build-Depends: +Maintainer: Jeff Carr +Packager: Jeff Carr +Architecture: amd64 +Depends: golang-golang-x-tools +GoPath: golang.org/x/tools +Recommends: golang +Version: 0.0.1 +Description: apt install's golang.org/x/tools + This doesn't do anything. it's just a shortcut. + This was packaged with go-deb from go.wit.com diff --git a/examples/x-tools/Makefile b/examples/x-tools/Makefile new file mode 100644 index 0000000..578b75c --- /dev/null +++ b/examples/x-tools/Makefile @@ -0,0 +1,13 @@ +.PHONY: build + +# this is how the mirrors.wit.com debian package is created + +all: build + +build: + cp build control ~/go/src/golang.org/x/tools/ + go-deb --auto --repo golang.org/x/tools + +# use the ncurses gui (only kinda works still) +ncurses: + # go-deb --gui gocui --repo . diff --git a/examples/x-tools/build b/examples/x-tools/build new file mode 100755 index 0000000..f35067a --- /dev/null +++ b/examples/x-tools/build @@ -0,0 +1,37 @@ +#!/bin/bash -x + +# bin /usr/bin +# cmd golang.org/x/tools/cmd/benchcmp +# cmd golang.org/x/tools/cmd/godoc +# cmd golang.org/x/tools/cmd/goimports +# +# bin /usr/lib/golang.org/x/tools/ +# cmd golang.org/x/tools/cmd/auth golang-authtest +# cmd golang.org/x/tools/cmd/bisect golang-bisect +# cmd golang.org/x/tools/cmd/bundle golang-bundle +# cmd golang.org/x/tools/cmd/callgraph +# cmd golang.org/x/tools/cmd/compilebench +# cmd golang.org/x/tools/cmd/deadcode +# cmd golang.org/x/tools/cmd/digraph +# cmd golang.org/x/tools/cmd/eg +# cmd golang.org/x/tools/cmd/file2fuzz +# cmd golang.org/x/tools/cmd/fiximports +# cmd golang.org/x/tools/cmd/go-contrib-init +# cmd golang.org/x/tools/cmd/godex +# cmd golang.org/x/tools/cmd/gomvpkg +# cmd golang.org/x/tools/cmd/gonew +# cmd golang.org/x/tools/cmd/gotype +# cmd golang.org/x/tools/cmd/goyacc +# cmd golang.org/x/tools/cmd/html2article +# cmd golang.org/x/tools/cmd/present +# cmd golang.org/x/tools/cmd/present2md +# cmd golang.org/x/tools/cmd/signature-fuzzer +# cmd golang.org/x/tools/cmd/splitdwarf +# cmd golang.org/x/tools/cmd/ssadump +# cmd golang.org/x/tools/cmd/stress +# cmd golang.org/x/tools/cmd/stringer +# cmd golang.org/x/tools/cmd/toolstash + +# doc man1 benchcmp.1.gz + +# normal bash stuff below still will run diff --git a/examples/x-tools/control b/examples/x-tools/control new file mode 100644 index 0000000..0900e3e --- /dev/null +++ b/examples/x-tools/control @@ -0,0 +1,14 @@ +Source: +Package: golang.org-x-tools +Build-Depends: +Maintainer: https://golang.org/issue/ +Packager: Jeff Carr +Architecture: amd64 +Depends: +GoPath: golang.org/x/tools +Recommends: golang +BuildIgnore: +Description: GO lang x/tools + Just an example of how it could be packaged using go-deb + incase that is of any use or not. + This was packaged with go-deb from go.wit.com