# Contributor: Johannes Matheis # Maintainer: Johannes Matheis pkgname=xautolock pkgver=2.2 pkgrel=6 pkgdesc="An automatic X screen-locker/screen-saver" url="https://www.ibiblio.org/pub/linux/X11/screensavers/" # riscv64 blocked by build error: "gcc: error: LinuxMachineDefines: No such file or directory" arch="all !riscv64" license="GPL-2.0" depends_dev="imake xorg-server-dev libxscrnsaver-dev xorg-cf-files" makedepends="$depends_dev" subpackages="$pkgname-doc" source="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$pkgver.tgz processwait.patch" build() { xmkmf make } package() { make DESTDIR="$pkgdir" install make MANPATH=/usr/share/man DESTDIR="$pkgdir" install.man } sha512sums="5f9dcc25cda706610e77a74235c4b421ca3a833d154b1a269057f0774579e1c6ec36fe0e5be5fadd6942ce8c1640a760f891397586b162e6024b524635153d04 xautolock-2.2.tgz 6dd8dc41ac78b71cd7b3dfe33cec3dfd7b57d0860da558cb230310a6d37f6b5075b11fe584d6f8d520da294f70688a04edb80e95d9fa0369230bab7292c05415 processwait.patch"