aports/testing/gomp/APKBUILD
2025-04-11 19:40:50 +02:00

32 lines
844 B
Text

# Contributor: Hygna <hygna@proton.me>
# Maintainer: Hygna <hygna@proton.me>
pkgname=gomp
pkgver=1.0.0
pkgrel=11
pkgdesc="MPD client inspired by ncmpcpp with builtin cover-art view and LastFM integration."
url="https://github.com/aditya-K2/gomp"
arch="all"
license="GPL-3.0-only"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/aditya-K2/gomp/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests suite
prepare() {
default_prepare
go get -u golang.org/x/sys@v0.21.0
go mod tidy
}
build() {
go generate
go build
}
package() {
install -Dm 755 gomp "$pkgdir"/usr/bin/gomp
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
ccbdbc0f480e53deea818cd972c51abcdc4218788170f5a1a115363a581abc30bdb207dbc7b2240867fa35c55faa9b7bfc7223e8230a313285c1cf60fe7209ee gomp-1.0.0.tar.gz
"