summaryrefslogtreecommitdiff
path: root/opt/wl-clipboard/MAKEPKG
blob: 30922059f5041ff94f9ff75e17ef26b7715fa8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/mkpkg
# description: Command-line copy/paste utilities for Wayland
# url: https://github.com/bugaevc/wl-clipboard

name=wl-clipboard
version=2.3.0
release=1
depends=(wayland wayland-protocols)
makedeps=(meson)
source=(https://github.com/bugaevc/wl-clipboard/archive/v$version/$name-$version.tar.gz)

sha256sums=(
    "b4dc560973f0cd74e02f817ffa2fd44ba645a4f1ea94b7b9614dacc9f895f402"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D zshcompletiondir=no \
        -D fishcompletiondir=no
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
    
    rm -rf $PKG/usr/share/bash-completion
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh