aboutsummaryrefslogtreecommitdiff
path: root/wayland/wl-clipboard/build
blob: 86051c366a0a3b2729ab3bc42e83bab2f4ba6ab7 (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.
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"