~alpine/aports

testing/nwg-bar: new aport v3 APPLIED

Edd Salkield: 1
 testing/nwg-bar: new aport

 1 files changed, 27 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4016/mbox | git am -3
Learn more about email & git

[PATCH v3] testing/nwg-bar: new aport Export this patch

https://github.com/nwg-piotr/nwg-bar
GTK3-based button bar for sway and other wlroots-based compositors
---
 testing/nwg-bar/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/nwg-bar/APKBUILD

diff --git a/testing/nwg-bar/APKBUILD b/testing/nwg-bar/APKBUILD
new file mode 100644
index 0000000000..86a90833b6
--- /dev/null
+++ b/testing/nwg-bar/APKBUILD
@@ -0,0 +1,27 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=nwg-bar
pkgver=0.0.1
pkgrel=0
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="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v$pkgver.tar.gz"
options="!check net"	# no upstream tests

build() {
	rm ./bin/nwg-bar
	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="
3b5290e7ee49ec6303dace6987fc32b9d632bc574adcb2be3881d5535f6b50ba102aa9a2688875d3c2d06df0772008f2ae3eb642b7b16f227ea23e8e62362998  nwg-bar-0.0.1.tar.gz
"
-- 
2.35.1