Subject: [alpine-aports] [PATCH] testing/wl-clipboard: new aport

From: Robert Sacks <[email-masked]>
Date: Fri, 17 May 2019 14:13:00 -0400

https://github.com/bugaevc/wl-clipboard
Command-line copy/paste utilities for Wayland
---
 testing/wl-clipboard/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/wl-clipboard/APKBUILD

diff --git a/testing/wl-clipboard/APKBUILD b/testing/wl-clipboard/APKBUILD
new file mode 100644
index 0000000000..76e81eb266
--- /dev/null
+++ b/testing/wl-clipboard/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Robert Sacks <[email-masked]>
+# Maintainer: Robert Sacks <[email-masked]>
+pkgname=wl-clipboard
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Command-line copy/paste utilities for Wayland"
+url="https://github.com/bugaevc/wl-clipboard"
+arch="all"
+license="GPL-3.0"
+options="!check"
+makedepends="meson ninja wayland-dev wayland-protocols"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/bugaevc/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	meson \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--buildtype=release \
+		. build
+	ninja -C build
+}
+
+package() {
+    cd "$builddir"
+	DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="328c18a9eb2ccfc788e7ab785077ab8d663c75f2ce8f6f434799575fc76ccc89238faf930948bced216d22bee0adfc810af5e84ffc63bc82c4e1d02da4286296  wl-clipboard-1.0.0.tar.gz"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---