@gin078
A few issues:
-
This PKGBUILD does not specify a source array and instead uses
go get
to install the necessary source repo. As a result this doesn't allowmakepkg
to check out the proper version. So regardless of thepkgver
this installs the bleeding edge git version. If that is your intention thepkgname
should be chronograf-git. Otherwise you should use a source array like this instead: source=("git+https://github.com/influxdata/chronograf#tag=$pkgver") -
The systemd service assumes there will be a user named "chronograf". Without this user the service fails to start. The canonical way to create a system user is using systemd-sysusers. See man sysusers.d. Also check out how the other InfluxData AUR packages handle this.
-
It is not necessary to specify dependencies that are in the 'base' group. That dependency is assumed, and the 'base-devel' group is assumed during build. So it is not useful to specify the 'glibc' dependency.
I have published fixes for the above here: https://github.com/AdamSLevy/chronograf-pkgbuild/tree/develop Please feel free to pull these changes.
I'm interested in being a co-maintainer, so if you would like some help with this package, please add me.
Pinned Comments