[aur-general] Package fails when built with an AUR helper
Hi, I maintain the package fathom-git. This is a go package. I have had to make the PKGBUILD quite messy because this package requires that it is in the GOPATH which also needs a whole folder structure. In order for it to build I had to create a custom GOPATH in the SRC directory, copy the git repo to there and also make sure it gets removed when the package is rebuilt. Does anyone know of a better solution for go packages that require something to be in GOPATH? === Rhys Perry ===
On Wed, Jul 08, 2020 at 09:21:11PM +0100, Rhys Perry via aur-general wrote:
Hi,
Hi,
I maintain the package fathom-git. This is a go package.
I have had to make the PKGBUILD quite messy because this package requires that it is in the GOPATH which also needs a whole folder structure. In order for it to build I had to create a custom GOPATH in the SRC directory, copy the git repo to there and also make sure it gets removed when the package is rebuilt.
This sounds like usual pre-go-modules go building.
Does anyone know of a better solution for go packages that require something to be in GOPATH?
I'm more curious, why does it fail with a helper due to this? Cheers! -Santiago
participants (2)
-
rhysperry111@gmail.com
-
Santiago Torres-Arias