aboutsummaryrefslogtreecommitdiff
path: root/wayland/wl-clipboard
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-17 11:12:26 +0300
committerCem Keylan <cem@ckyln.com>2021-05-17 11:12:26 +0300
commit8374ddf83294516b7588fcf1a03cd7a2011b7ef6 (patch)
treeb753f424c40582efe620196837bca265fb686102 /wayland/wl-clipboard
parent29d96017350d1893be4d968531f7416755430ff8 (diff)
downloadrepository-8374ddf83294516b7588fcf1a03cd7a2011b7ef6.tar.gz
wl-clipboard: add new package at 2.0.0
Diffstat (limited to 'wayland/wl-clipboard')
-rwxr-xr-xwayland/wl-clipboard/build19
-rw-r--r--wayland/wl-clipboard/checksums1
-rw-r--r--wayland/wl-clipboard/depends2
-rw-r--r--wayland/wl-clipboard/sources2
-rw-r--r--wayland/wl-clipboard/version1
5 files changed, 25 insertions, 0 deletions
diff --git a/wayland/wl-clipboard/build b/wayland/wl-clipboard/build
new file mode 100755
index 00000000..86051c36
--- /dev/null
+++ b/wayland/wl-clipboard/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+meson \
+ --prefix=/usr \
+ . output
+
+ninja -C output
+ninja -C output install
+
+# Install xclip wrapper.
+install -Dm755 xclip/src/wl-clipboard-x11 "$1/usr/bin/xclip"
+ln -s xclip "$1/usr/bin/xsel"
+
+# Install manual page for the xclip wrapper
+install -Dm644 xclip/man/wl-clipboard-x11.1 "$1/usr/share/man/man1/wl-clipboard-x11.1"
+ln -s wl-clipboard-x11.1 "$1/usr/share/man/man1/xclip.1"
+ln -s wl-clipboard-x11.1 "$1/usr/share/man/man1/xsel.1"
diff --git a/wayland/wl-clipboard/checksums b/wayland/wl-clipboard/checksums
new file mode 100644
index 00000000..9814d63c
--- /dev/null
+++ b/wayland/wl-clipboard/checksums
@@ -0,0 +1 @@
+2c42f182432adabe56da0f1144d5fcc40b7aae3d8e14d2bc4dc4c3f91b51808d v2.0.0.tar.gz
diff --git a/wayland/wl-clipboard/depends b/wayland/wl-clipboard/depends
new file mode 100644
index 00000000..423dda2c
--- /dev/null
+++ b/wayland/wl-clipboard/depends
@@ -0,0 +1,2 @@
+meson make
+wayland
diff --git a/wayland/wl-clipboard/sources b/wayland/wl-clipboard/sources
new file mode 100644
index 00000000..9cd9b7b6
--- /dev/null
+++ b/wayland/wl-clipboard/sources
@@ -0,0 +1,2 @@
+https://github.com/bugaevc/wl-clipboard/archive/v2.0.0.tar.gz
+https://github.com/brunelli/wl-clipboard-x11/archive/refs/tags/v5.tar.gz xclip
diff --git a/wayland/wl-clipboard/version b/wayland/wl-clipboard/version
new file mode 100644
index 00000000..b31a7f39
--- /dev/null
+++ b/wayland/wl-clipboard/version
@@ -0,0 +1 @@
+2.0.0 1