aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wl-clipboard-x11
diff options
context:
space:
mode:
authorRobert Sacks <robert@sacks.email>2019-05-17 16:52:21 -0400
committerMilan P. Stanić <mps@arvanta.net>2019-06-01 17:41:45 +0200
commitb01bc44c240b819a6284d84008e1b1795a3d1c9b (patch)
treec92a75d151a89be6bdcdcb3ef641cc2457bc1cc0 /testing/wl-clipboard-x11
parent99eccb233f256283213194b15945bd09729b4d3b (diff)
downloadaports-b01bc44c240b819a6284d84008e1b1795a3d1c9b.tar.bz2
aports-b01bc44c240b819a6284d84008e1b1795a3d1c9b.tar.xz
testing/wl-clipboard-x11: new aport
changes by commiter: - fixed license - modernize - remove unneeded commit messages
Diffstat (limited to 'testing/wl-clipboard-x11')
-rw-r--r--testing/wl-clipboard-x11/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/wl-clipboard-x11/APKBUILD b/testing/wl-clipboard-x11/APKBUILD
new file mode 100644
index 0000000000..f79bb51192
--- /dev/null
+++ b/testing/wl-clipboard-x11/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Robert Sacks <robert@sacks.email>
+# Maintainer: Robert Sacks <robert@sacks.email>
+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-or-later"
+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"