summaryrefslogtreecommitdiff
path: root/grim/Pkgfile
blob: 1bf3bb008db5f79c408f44a2424db144cdf3f1d0 (plain)
    1 # Description: Screenshot utility for Wayland
    2 # URL: https://github.com/emersion/grim
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: pango wayland-protocols
    5 # Optional: libjpeg-turbo scdoc
    6 
    7 name=grim
    8 version=1.3.2
    9 release=1
   10 source=(https://github.com/emersion/grim/archive/v$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   prt-get isinst bash-completion && PKGMK_GRIM+=' -D bash-completions=true'
   14 
   15   meson setup $name-$version build $PKGMK_GRIM \
   16     --prefix=/usr \
   17     --buildtype=plain \
   18     --wrap-mode nodownload \
   19     -D b_lto=true \
   20     -D b_pie=true
   21   meson compile -C build
   22   DESTDIR=$PKG meson install -C build
   23 }

Generated by cgit