From 9e6cdf032307ead187af29d4144b6c06cc737b4b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 27 Nov 2019 20:54:15 -0500 Subject: [PATCH] Normalize prometheus packages --- prometheus/alertmanager/APKBUILD | 3 --- prometheus/prometheus/APKBUILD | 3 --- 2 files changed, 6 deletions(-) diff --git a/prometheus/alertmanager/APKBUILD b/prometheus/alertmanager/APKBUILD index b707030..8597bf8 100644 --- a/prometheus/alertmanager/APKBUILD +++ b/prometheus/alertmanager/APKBUILD @@ -18,7 +18,6 @@ builddir="$srcdir/$pkgname-$pkgver" options="!check" # timing-dependent upstream failures build() { - cd "$builddir" go build \ -gcflags "all=-trimpath=$PWD" \ -asmflags "all=-trimpath=$PWD" \ @@ -32,12 +31,10 @@ build() { } check() { - cd "$builddir" go test ./... } package() { - cd "$builddir" install -Dm755 alertmanager "$pkgdir"/usr/bin/alertmanager install -Dm755 amtool "$pkgdir"/usr/bin/amtool diff --git a/prometheus/prometheus/APKBUILD b/prometheus/prometheus/APKBUILD index d876a02..c081b42 100644 --- a/prometheus/prometheus/APKBUILD +++ b/prometheus/prometheus/APKBUILD @@ -18,7 +18,6 @@ builddir="$srcdir/$pkgname-$pkgver" options="!check" # Broken by integrations we don't care about build() { - cd "$builddir" go build \ -gcflags "all=-trimpath=$PWD" \ -asmflags "all=-trimpath=$PWD" \ @@ -32,12 +31,10 @@ build() { } check() { - cd "$builddir" go test ./... } package() { - cd "$builddir" install -Dm755 prometheus "$pkgdir"/usr/bin/prometheus install -Dm755 promtool "$pkgdir"/usr/bin/promtool -- 2.45.2