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
|
pkgbase = prometheus-postgresql-exporter
|
||||||
pkgdesc = Prometheus exporter for PostrgreSQL
|
pkgdesc = Prometheus exporter for PostrgreSQL
|
||||||
pkgver = 0.2.3
|
pkgver = 0.4.7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/wrouesnel/postgres_exporter
|
url = https://github.com/wrouesnel/postgres_exporter
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -10,9 +8,9 @@ pkgbase = prometheus-postgresql-exporter
|
||||||
license = Apache
|
license = Apache
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = go
|
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
|
source = prometheus-postgresql-exporter.service
|
||||||
sha256sums = 203ea51a9e5fb1fadceaa82ad63637db7248e22ae8b876613f3c8c2c255682d7
|
sha256sums = f42a986c556a17b96969ae0198fc8ed302fa83d9d66e3186bd9b07ffdef04847
|
||||||
sha256sums = cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135
|
sha256sums = cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135
|
||||||
|
|
||||||
pkgname = prometheus-postgresql-exporter
|
pkgname = prometheus-postgresql-exporter
|
||||||
|
|
9
PKGBUILD
9
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Nils Czernia <nils@czserver.de>
|
# Maintainer: Nils Czernia <nils@czserver.de>
|
||||||
|
|
||||||
pkgname=prometheus-postgresql-exporter
|
pkgname=prometheus-postgresql-exporter
|
||||||
pkgver=0.2.3
|
pkgver=0.4.7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Prometheus exporter for PostrgreSQL"
|
pkgdesc="Prometheus exporter for PostrgreSQL"
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
|
@ -10,7 +10,7 @@ license=('Apache')
|
||||||
makedepends=('git' 'go')
|
makedepends=('git' 'go')
|
||||||
source=("https://github.com/wrouesnel/postgres_exporter/archive/v${pkgver}.tar.gz"
|
source=("https://github.com/wrouesnel/postgres_exporter/archive/v${pkgver}.tar.gz"
|
||||||
"prometheus-postgresql-exporter.service")
|
"prometheus-postgresql-exporter.service")
|
||||||
sha256sums=('203ea51a9e5fb1fadceaa82ad63637db7248e22ae8b876613f3c8c2c255682d7'
|
sha256sums=('f42a986c556a17b96969ae0198fc8ed302fa83d9d66e3186bd9b07ffdef04847'
|
||||||
'cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135')
|
'cda225c236df0e2a6d71c17a5390a92ed5cc7f71b8ca5843590c59fa02cdb135')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -24,14 +24,13 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
export GOPATH="${srcdir}/gopath"
|
export GOPATH="${srcdir}/gopath"
|
||||||
cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter"
|
cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter"
|
||||||
make
|
go run mage.go binary
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
export GOPATH="${srcdir}/gopath"
|
export GOPATH="${srcdir}/gopath"
|
||||||
cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter"
|
cd "${GOPATH}/src/github.com/wrouesnel/postgres_exporter"
|
||||||
|
go run mage.go test
|
||||||
make test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue