aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2021-07-01 21:48:16 +0200
committerMichał Polański <michal@polanski.me>2021-07-01 22:15:43 +0200
commita7895021f7691b76880f9cadac67637ddafd1d8b (patch)
treea04b11f65615691d729907145e55a1a019934955
parentcd7c7526b593789ebf147c16783e2a95d14bd3fe (diff)
downloadaports-a7895021f7691b76880f9cadac67637ddafd1d8b.tar.gz
aports-a7895021f7691b76880f9cadac67637ddafd1d8b.tar.bz2
aports-a7895021f7691b76880f9cadac67637ddafd1d8b.tar.xz
testing/gops: upgrade to 0.3.19
-rw-r--r--testing/gops/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/testing/gops/APKBUILD b/testing/gops/APKBUILD
index 6bab946173..3dd6aef7f1 100644
--- a/testing/gops/APKBUILD
+++ b/testing/gops/APKBUILD
@@ -1,14 +1,17 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=gops
-pkgver=0.3.18
-pkgrel=1
-pkgdesc="A tool to list and diagnose Go processes currently running on your system"
+pkgver=0.3.19
+pkgrel=0
+pkgdesc="List and diagnose Go processes currently running on your system"
url="https://github.com/google/gops"
license="BSD-3-Clause"
arch="all"
makedepends="go"
-source="$pkgname-$pkgver.tar.gz::https://github.com/google/gops/archive/v$pkgver.tar.gz"
+source="https://github.com/google/gops/archive/v$pkgver/gops-$pkgver.tar.gz"
+
+export GOPATH="$srcdir"
+export GOFLAGS="$GOFLAGS -trimpath -modcacherw"
build() {
go build -ldflags "-s -w" -v -o bin/$pkgname
@@ -22,9 +25,6 @@ package() {
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
}
-cleanup_srcdir() {
- go clean -modcache
- default_cleanup_srcdir
-}
-
-sha512sums="58d7ea770e96c094e2f9b16179ca8fef75863269505be0c2e1bcdb4b2bd1dd508fc0ec50fe6dbe9fd9efd08a4a99f168a449c97984bb18f70bd08824b04dfdc5 gops-0.3.18.tar.gz"
+sha512sums="
+01dbc47c9f70546fa58f532a4af20ca60b149db13dfef4f6aae7cdde0ef88db5cc85b5684f548149a7aaeac4b0a0fcbf208f2fa7ac20419ef2d513b571fcccf6 gops-0.3.19.tar.gz
+"