# Contributor: Leo # Maintainer: Steven Guikal pkgname=gotop pkgver=4.2.0 pkgrel=9 pkgdesc="Terminal based graphical activity monitor" url="https://github.com/xxxserxxx/gotop" arch="all" license="AGPL-3.0-or-later" options="!check chmod-clean net" # No test suite depends="procps" # Remove once #20 on xxxserxxx/gotop is fixed makedepends="git go" source="$pkgname-$pkgver.tar.gz::https://github.com/xxxserxxx/gotop/archive/v$pkgver.tar.gz 0001-logging-add-support-for-riscv64.patch " export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { mkdir bin go build -v -o bin/ ./... } package() { mkdir -p "$pkgdir"/usr/bin/ install -m755 ./bin/* "$pkgdir"/usr/bin/ } sha512sums=" 32973f4e6677f885062051940119fb77f95d0bbfe653dcfce9c0a67a986f0cafc51916fe625038e31d7fc6698d170821fc56c4445b4c8ec666d180b604d5c5ac gotop-4.2.0.tar.gz 53c085dd0e495116e5f8cda6796113630bf27935007098006d164773912f611d2cadfae80aaa12c8796becb77a17ddc5905d26d31b078db9249f5668de93da34 0001-logging-add-support-for-riscv64.patch "