Package Details: mackerel-agent-plugins-git 0.86.0-1

Git Clone URL: https://aur.archlinux.org/mackerel-agent-plugins-git.git (read-only, click to copy)
Package Base: mackerel-agent-plugins-git
Description: Plugins for mackerel-agent
Upstream URL: https://github.com/mackerelio/mackerel-agent-plugins
Keywords: mackerel monitoring
Licenses: Apache
Conflicts: mackerel-agent-plugins
Provides: mackerel-agent-plugins
Submitter: mfakane
Maintainer: mfakane
Last Packager: mfakane
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-20 22:54 (UTC)
Last Updated: 2024-11-21 08:25 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

mfakane commented on 2019-09-23 20:48 (UTC) (edited on 2020-01-22 14:30 (UTC) by mfakane)

Thanks for your feedback nosada, I fixed the PKGBUILD not to use deps so it shall work again.

nosada commented on 2019-09-22 10:11 (UTC) (edited on 2019-09-22 10:11 (UTC) by nosada)

Currently makepkg fails on building this package because it seems deps option no longer exists in Makefile on mackerel-agent-plugins 0.58.0.

I confirmed it succeeds by fixing PKGBUILD as belows:

diff --git a/PKGBUILD b/PKGBUILD
index 32a0df1..20641e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,9 +24,8 @@ build() {
   export GOPATH="$srcdir/go"
   mkdir -p "$GOPATH"

-  make deps
-  mkdir -p build
-  
+  make build
+
   for i in `cat "$srcdir/$pkgname/packaging/config.json" | /usr/bin/jq -r '.plugins[]'`; do
     cd "$srcdir/$pkgname/mackerel-plugin-$i"
     go build -ldflags "-s -w" -o "$srcdir/$pkgname/build/mackerel-plugin-$i"