# Contributor: Alan Lacerda # Maintainer: Francesco Colista pkgname=mate-screensaver pkgver=1.22.1 pkgrel=0 pkgdesc="A screen saver and locker for MATE" url="https://github.com/mate-desktop/mate-screensaver" arch="all" license="GPL-2.0" makedepends="intltool glib-dev libxscrnsaver-dev gtk+3.0-dev mate-desktop-dev dbus-glib-dev mate-menus-dev dconf-dev libnotify-dev libmatekbd-dev mate-session-manager libsm-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver/" options="suid" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-static=no \ --enable-locking=yes \ --prefix=/usr \ --without-console-kit make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install # https://gitweb.gentoo.org/repo/gentoo.git/tree/mate-extra/mate-screensaver chmod u+s "$pkgdir"/usr/libexec/mate-screensaver-dialog } sha512sums="7ffb94d88095ff5580862fe9c958a2e4af7a424d40dc5e0f3c1da49a258035179573721fc7052710624916678e953a6347a898b53ff872a49e022987b8c02904 mate-screensaver-1.22.1.tar.xz"