blob: 9a02e2bba41cf3b7e19ac9804519b4e95f700440 (
plain)
1 # Description: Screen locker for Wayland
2 # URL: https://github.com/swaywm/swaylock
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: cairo libxkbcommon wayland-protocols
5 # Optional: gdk-pixbuf scdoc
6
7 name=swaylock
8 version=1.7
9 release=1
10 source=(https://github.com/swaywm/swaylock/archive/$version/$name-$version.tar.gz)
11
12 build() {
13 prt-get isinst bash-completion || PKGMK_SWAYLOCK+=' -D bash-completions=false'
14 prt-get isinst zsh || PKGMK_SWAYLOCK+=' -D zsh-completions=false'
15
16 #CFLAGS+=' -Wno-error' \
17 meson setup $name-$version build $PKGMK_SWAYLOCK \
18 --prefix=/usr \
19 --buildtype=plain \
20 --wrap-mode nodownload \
21 -D b_lto=true \
22 -D b_pie=true \
23 -D pam=enabled \
24 -D fish-completions=false
25 meson compile -C build
26 DESTDIR=$PKG meson install -C build
27 }
|