aports/testing/nwg-bar/APKBUILD
2025-03-16 14:15:03 +01:00

30 lines
1,017 B
Text

# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=nwg-bar
pkgver=0.1.6
pkgrel=8
pkgdesc="GTK3-based button bar for sway and other wlroots-based compositors"
url="https://github.com/nwg-piotr/nwg-bar/"
arch="all"
license="MIT"
makedepends="go glib-dev cairo-dev gtk+3.0-dev gtk-layer-shell-dev"
source="https://github.com/nwg-piotr/nwg-bar/archive/v$pkgver/nwg-bar-v$pkgver.tar.gz"
options="!check net" # no upstream tests
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -o bin/nwg-bar .
}
package() {
install -m755 -D ./bin/nwg-bar "$pkgdir"/usr/bin/nwg-bar
install -m644 -D -t "$pkgdir"/usr/share/nwg-bar ./config/*
install -m644 -D -t "$pkgdir"/usr/share/nwg-bar/images ./images/*
}
sha512sums="
f59a7bf34d86bd7fe5c7a98653b364fbc53cde6262fbb962950b18dd77c8c20d59e1985347e1b3e300b2c9b68a84059009c3b0a9d0ee0152a30171c78435586a nwg-bar-v0.1.6.tar.gz
"