# Maintainer: Natanael Copa pkgname=xfce4-screensaver pkgver=0.1.7 pkgrel=0 pkgdesc="Screensaver and locker for XFCE" url="https://git.xfce.org/apps/xfce4-screensaver/about/" arch="all" license="GPL-2.0-or-later" makedepends="libx11-dev gtk+3.0-dev dbus-glib-dev glib-dev libxklavier-dev xfconf-dev garcon-dev libxrandr-dev libxscrnsaver-dev libxfce4ui-dev libxext-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://archive.xfce.org/src/apps/xfce4-screensaver/0.1/xfce4-screensaver-$pkgver.tar.bz2" options="suid" # FIXME: write an external helper with sgid shadow to avoid suid root _libexecdir=/usr/lib/xfce4 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=$_libexecdir \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-locking make } check() { make check } package() { make DESTDIR="$pkgdir" install chgrp shadow "$pkgdir"$_libexecdir/xfce4-screensaver-dialog chmod +s "$pkgdir"$_libexecdir/xfce4-screensaver-dialog } sha512sums="e46f06357f18d422716924c19aed6db79c4ae1029eacf079ae939964ac22ef609e907f2b898b6d14bf882cb3691a481ad6bd0eb49e85e272f05b445f28de071f xfce4-screensaver-0.1.7.tar.bz2"