Would you consider adding GOPATH to the build function? It can help supporting debug packages and besides that it stops polluting the user's home dir with build output in ~/go.
Quoting from the go package guidelines:
'Include GOPATH="${srcdir}" so makepkg can include the source code for all modules.'
Pinned Comments
roddhjav commented on 2022-09-13 17:29 (UTC) (edited on 2023-03-28 23:13 (UTC) by roddhjav)
Warning: This project is still in early development. Help is very welcome see https://github.com/roddhjav/apparmor.d#apparmord