blob: 0b25ea4e24804afae58231d4386c2e31a604f0b8 (
plain)
1 # Description: Idle management daemon for Wayland
2 # URL: https://github.com/swaywm/swayidle
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: wayland-protocols
5 # Optional: scdoc
6
7 name=swayidle
8 version=1.8.0
9 release=1
10 source=(https://github.com/swaywm/swayidle/archive/$version/$name-$version.tar.gz)
11
12 build() {
13 prt-get isinst bash-completion || PKGMK_SWAYIDLE+=' -D bash-completions=false'
14 prt-get isinst zsh || PKGMK_SWAYIDLE+=' -D zsh-completions=false'
15
16 meson setup $name-$version build $PKGMK_SWAYIDLE \
17 --prefix=/usr \
18 --buildtype=plain \
19 --wrap-mode nodownload \
20 -D b_lto=true \
21 -D b_pie=true \
22 -D fish-completions=false
23 meson compile -C build
24 DESTDIR=$PKG meson install -C build
25 }
|