mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# Maintainer: Lauri Tirkkonen <lauri@hacktheplanet.fi>
|
|
pkgname=ymuse
|
|
pkgver=0.22
|
|
pkgrel=1
|
|
pkgdesc="GTK client for Music Player Daemon (MPD) written in Go"
|
|
url="https://yktoo.com/en/software/ymuse/"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="go gtk+3.0-dev"
|
|
checkdepends="xvfb-run"
|
|
options="net"
|
|
source="ymuse-$pkgver.tar.gz::https://github.com/yktoo/ymuse/archive/refs/tags/v$pkgver.tar.gz
|
|
fcd7717c15c9118c1fbf8c842cbafbf084a5bf5e.patch"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
go mod download -x
|
|
}
|
|
|
|
build() {
|
|
go build -v .
|
|
}
|
|
|
|
check() {
|
|
xvfb-run -a -- go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 ymuse $pkgdir/usr/bin/ymuse
|
|
}
|
|
|
|
sha512sums="
|
|
f347d66aee6e801869d45a4f60a44a5682d62dca11dbbd9c829f8a15bf6b487a3d7230f0df5f899823cc0da08780676d44064d501cd01769c915e359f7a3e886 ymuse-0.22.tar.gz
|
|
a0147547161d442468289fe3b41b7f2e5841ac814d494c72c7758c543bbeaa023e997b2f4752f7fe2cccb441b02699d4628dcab2e8d7adb2b84eaeaffa4b0857 fcd7717c15c9118c1fbf8c842cbafbf084a5bf5e.patch
|
|
"
|