aboutsummaryrefslogtreecommitdiff
path: root/wayland/wl-clipboard/build
blob: 21be521d53bd52d1095f2012b2e00d1e79be224d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

export DESTDIR="$1"

cl-meson \
    . output

ninja -C output
ninja -C output install

# Install xclip wrapper.
clinst -Dm755 xclip/src/wl-clipboard-x11 "$1/usr/bin/xclip"
ln -s xclip "$1/usr/bin/xsel"

# Install manual page for the xclip wrapper
clman xclip/man/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"