* use filepath to check for known packages
this fixes an issue using windows. without this patch, jb would delete
the folder after installation since the path is not known
* reduce temp directory length by hashing
using this hash it is harder to reach the windows limit for filenames
and directories
* further reduce temp dir length
* do not build binaries for windows/amd*
The go-modules approach is a bit broken: https://github.com/golang/go/issues/29228
To resolve that, we now compute that version using `git describe` and
set it using `ldflags`.
While this is not as nice/builtin as the other approach, it at least
works all the time and across go versions.
Furthermore, I did refactor the Makefile in preparation for an AUR
package that builds from source and for building release artifacts in CI.