From 9b406897fdc3c0430c236e7aa9a3e912fa89dfda Mon Sep 17 00:00:00 2001 From: Nils Czernia Date: Wed, 12 Dec 2018 08:54:18 +0100 Subject: [PATCH] Update tp 0.4.7 --- .SRCINFO | 8 +++----- PKGBUILD | 9 ++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a3cb115..ccc1820 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Wed Oct 18 10:34:10 UTC 2017 pkgbase = prometheus-postgresql-exporter pkgdesc = Prometheus exporter for PostrgreSQL - pkgver = 0.2.3 + pkgver = 0.4.7 pkgrel = 1 url = https://github.com/wrouesnel/postgres_exporter arch = x86_64 @@ -10,9 +8,9 @@ pkgbase = prometheus-postgresql-exporter license = Apache makedepends = git makedepends = go - source = https://github.com/wrouesnel/postgres_exporter/archive/v0.2.3.tar.gz + source = https://github.com/wrouesnel/postgres_exporter/archive/v0.4.7.tar.gz source = prometheus-postgresql-exporter.service - sha256sums = 203ea51a9e5fb1fadceaa82ad63637db7248e22ae8b876613f3c8c2c255682d7 + sha256sums = f42a986c556a17b96969ae0198fc8ed302fa83d9d66e3186bd9b07ffdef04847 sha256sums = cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135 pkgname = prometheus-postgresql-exporter diff --git a/PKGBUILD b/PKGBUILD index 054bf58..f01f1c7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Nils Czernia pkgname=prometheus-postgresql-exporter -pkgver=0.2.3 +pkgver=0.4.7 pkgrel=1 pkgdesc="Prometheus exporter for PostrgreSQL" arch=('x86_64' 'i686') @@ -10,7 +10,7 @@ license=('Apache') makedepends=('git' 'go') source=("https://github.com/wrouesnel/postgres_exporter/archive/v${pkgver}.tar.gz" "prometheus-postgresql-exporter.service") -sha256sums=('203ea51a9e5fb1fadceaa82ad63637db7248e22ae8b876613f3c8c2c255682d7' +sha256sums=('f42a986c556a17b96969ae0198fc8ed302fa83d9d66e3186bd9b07ffdef04847' 'cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135') prepare() { @@ -24,14 +24,13 @@ prepare() { build() { export GOPATH="${srcdir}/gopath" cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter" - make + go run mage.go binary } check() { export GOPATH="${srcdir}/gopath" cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter" - - make test + go run mage.go test } package() {