Update tp 0.4.7
This commit is contained in:
parent
400a41d420
commit
9b406897fd
2 changed files with 7 additions and 10 deletions
8
.SRCINFO
8
.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
|
||||
|
|
9
PKGBUILD
9
PKGBUILD
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Nils Czernia <nils@czserver.de>
|
||||
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue