# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=waylock pkgver=0.6.2 pkgrel=0 pkgdesc="A small screenlocker for Wayland compositors" url="https://github.com/ifreund/waylock" arch="aarch64 x86_64" # blocked by zig license="ISC" makedepends=" libxkbcommon-dev linux-pam-dev scdoc wayland-dev wayland-protocols zig " subpackages="$pkgname-doc" source="https://github.com/ifreund/waylock/releases/download/v$pkgver/waylock-$pkgver.tar.gz pam-base-auth.patch " build() { DESTDIR='.dest' zig build \ --prefix /usr \ -Drelease-safe \ -Dcpu=baseline \ -Dpie \ -Dman-pages \ --prefix /usr install } package() { mkdir -p "$pkgdir" cp -r .dest/* "$pkgdir"/ } sha512sums=" 3133e407b6373c6f6f245ebf7bf1eb97689d3cec9c04a710c38a2f37581b33dbb89b8fe85ac48014fe85877f845d6adb3c092689c7a8aa27a9bca0fdab6e8596 waylock-0.6.2.tar.gz e3f5aa479908babbeea2febecdf7c57a5cf6b9153c4cd63731721cdf6d50bd0417077b37effec1520064918a422c4313d24ee9c2b2a77c328be931ffbeb03161 pam-base-auth.patch "