diff options
author | Cem Keylan <cem@ckyln.com> | 2021-05-17 11:12:26 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-05-17 11:12:26 +0300 |
commit | 8374ddf83294516b7588fcf1a03cd7a2011b7ef6 (patch) | |
tree | b753f424c40582efe620196837bca265fb686102 /wayland/wl-clipboard/build | |
parent | 29d96017350d1893be4d968531f7416755430ff8 (diff) | |
download | repository-8374ddf83294516b7588fcf1a03cd7a2011b7ef6.tar.gz |
wl-clipboard: add new package at 2.0.0
Diffstat (limited to 'wayland/wl-clipboard/build')
-rwxr-xr-x | wayland/wl-clipboard/build | 19 |
1 files changed, 19 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" |