summaryrefslogtreecommitdiff
path: root/opt/grim/MAKEPKG
blob: d3d0bf97ea696297bd86cba4161b7d8c7d8cb8d9 (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: Grab images from a Wayland compositor
# url: https://github.com/emersion/grim

name=grim
version=1.5.0
_version=v1.5.0
release=1
depends=(wayland pixman libpng libjpeg-turbo)
makedeps=(meson wayland-protocols scdoc)
source=(https://gitlab.freedesktop.org/emersion/$name/-/archive/$_version/$name-$_version.tar.gz)
renames=($name-$version.tar.gz)

sha256sums=(
    "9e72a98f7621b1f5741b405b8dbd447acf7d300ddb12667ec526db1ce6154eaa"
)

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

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

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

# vim: filetype=sh