M prometheus/alertmanager/APKBUILD => prometheus/alertmanager/APKBUILD +0 -3
@@ 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
M prometheus/prometheus/APKBUILD => prometheus/prometheus/APKBUILD +0 -3
@@ 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