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

From: Robert Sacks <[email-masked]>
Date: Fri, 17 May 2019 16:52:21 -0400

https://github.com/brunelli/wl-clipboard-x11
A wrapper to use wl-clipboard as a drop-in replacement to X11 clipboard tools
---
 testing/wl-clipboard-x11/APKBUILD | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 testing/wl-clipboard-x11/APKBUILD

diff --git a/testing/wl-clipboard-x11/APKBUILD b/testing/wl-clipboard-x11/APKBUILD
new file mode 100644
index 0000000000..3143892d81
--- /dev/null
+++ b/testing/wl-clipboard-x11/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Robert Sacks <[email-masked]>
+# Maintainer: Robert Sacks <[email-masked]>
+pkgname=wl-clipboard-x11
+pkgver=3
+pkgrel=0
+pkgdesc="A wrapper to use wl-clipboard as a drop-in replacement to X11 clipboard tools"
+url="https://github.com/brunelli/wl-clipboard-x11"
+arch="noarch"
+license="GPL-3.0"
+options="!check"
+conflicts="xclip xsel"
+provides="xclip xsel"
+depends="wl-clipboard"
+makedepends="make sed"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/brunelli/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+package() {
+    cd "$builddir"
+    sed -i '/^[[:space:]]\+@ln -.*$/s/\$(DESTDIR)//' Makefile
+    DESTDIR="$pkgdir" make install
+}
+
+sha512sums="01a0e48328e3cd0bd551e3ac0af6b64094b540a5aeea51ecbee50686ee8ffb5447cec538180fa7459967a4fcdd8b1d5bd6b515a100e1a77a97f7b01f83197816  wl-clipboard-x11-3.tar.gz"
-- 
2.21.0

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