24 lines
637 B
Plaintext
24 lines
637 B
Plaintext
|
# Description: Screenshot utility for Wayland
|
||
|
# URL: https://github.com/emersion/grim
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: pango wayland-protocols
|
||
|
# Optional: libjpeg-turbo scdoc
|
||
|
|
||
|
name=grim
|
||
|
version=1.3.2
|
||
|
release=1
|
||
|
source=(https://github.com/emersion/grim/archive/v$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
prt-get isinst bash-completion && PKGMK_GRIM+=' -D bash-completions=true'
|
||
|
|
||
|
meson setup $name-$version build $PKGMK_GRIM \
|
||
|
--prefix=/usr \
|
||
|
--buildtype=plain \
|
||
|
--wrap-mode nodownload \
|
||
|
-D b_lto=true \
|
||
|
-D b_pie=true
|
||
|
meson compile -C build
|
||
|
DESTDIR=$PKG meson install -C build
|
||
|
}
|