Subject: [alpine-aports] [PATCH] testing/wl-clipboard-x11: upgrade to 4

From: Robert Sacks <[email-masked]>
Date: Sat, 1 Jun 2019 22:25:09 -0400

---
 testing/wl-clipboard-x11/APKBUILD | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/testing/wl-clipboard-x11/APKBUILD b/testing/wl-clipboard-x11/APKBUILD
index f79bb51192..439f6d2f2b 100644
--- a/testing/wl-clipboard-x11/APKBUILD
+++ b/testing/wl-clipboard-x11/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Robert Sacks <[email-masked]>
 # Maintainer: Robert Sacks <[email-masked]>
 pkgname=wl-clipboard-x11
-pkgver=3
+pkgver=4
 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"
@@ -11,14 +11,12 @@ 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() {
-	sed -i '/^[[:space:]]\+@ln -.*$/s/\$(DESTDIR)//' Makefile
 	DESTDIR="$pkgdir" make install
 }
 
-sha512sums="01a0e48328e3cd0bd551e3ac0af6b64094b540a5aeea51ecbee50686ee8ffb5447cec538180fa7459967a4fcdd8b1d5bd6b515a100e1a77a97f7b01f83197816  wl-clipboard-x11-3.tar.gz"
+sha512sums="caaf54dcfaecaed475ce59519516898a70da436a990642a81bdcb12b41e40ff45aed0e3d7273b76a32c246e92b327ca3f780d99d4ade4541ed46f14ec41734cb  wl-clipboard-x11-4.tar.gz"
-- 
2.21.0

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

---

From: Milan P. Stanić <[email-masked]>
Date: Sun, 2 Jun 2019 21:49:53 +0200

Hi,

> +++ b/testing/wl-clipboard-x11/APKBUILD

APKBUILD file doesn't have 'conflicts'.

You can use depends with negation, i.e.:
depends="wl-clipboar !xclip !xsel"

Please fix patch and resend it.

-- 
regards

>  subpackages="$pkgname-doc"
...

---

---

From: Robert Sacks <[email-masked]>
Date: Sun, 2 Jun 2019 22:21:48 -0400

---
Changes v1 -> v2:
    - remove 'conflicts'

 testing/wl-clipboard-x11/APKBUILD | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

index f79bb51192..1672e83258 100644
@@ -1,24 +1,21 @@
 arch="noarch"
 license="GPL-3.0-or-later"
 options="!check"
-conflicts="xclip xsel"

 package() {

---