summaryrefslogtreecommitdiff
path: root/opt/slurp/MAKEPKG
blob: 51a08c9843502d6b12461093ae6851b95f41e454 (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
#!/bin/mkpkg
# description: Select a region in a Wayland compositor
# url: https://github.com/emersion/slurp

name=slurp
version=1.5.0
release=1
depends=(wayland cairo libxkbcommon)
makedeps=(meson wayland-protocols scdoc)
source=(https://github.com/emersion/$name/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)

sha256sums=(
    "0fa880d4a93e1c795e3b5929fbea47546df0955bea34fc2f7ffeb1751678f663"
)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --libdir=lib \
    --buildtype=plain

  meson compile -C build
  DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh