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

export DESTDIR="$1"

meson \
    --prefix=/usr \
    . 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"