From 0e0edbd5e19bc64403854504b78ffc41ccdd3d41 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 28 Nov 2018 11:28:29 +0000 Subject: testing/xfce4-screensaver: new aport Screensaver and locker for XFCE https://git.xfce.org/apps/xfce4-screensaver/about/ --- testing/xfce4-screensaver/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 testing/xfce4-screensaver/APKBUILD (limited to 'testing/xfce4-screensaver') diff --git a/testing/xfce4-screensaver/APKBUILD b/testing/xfce4-screensaver/APKBUILD new file mode 100644 index 0000000000..512498c373 --- /dev/null +++ b/testing/xfce4-screensaver/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Natanael Copa +pkgname=xfce4-screensaver +pkgver=0.1.3 +pkgrel=0 +pkgdesc="Screensaver and locker for XFCE" +url="https://git.xfce.org/apps/xfce4-screensaver/about/" +arch="all" +license="GPL-2.0" +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-dev $pkgname-doc $pkgname-lang" +source="https://archive.xfce.org/src/apps/xfce4-screensaver/0.1/xfce4-screensaver-$pkgver.tar.bz2" +builddir="$srcdir/xfce4-screensaver-$pkgver" +options="suid" # FIXME: write an external helper with sgid shadow to avoid suid root + +_libexecdir=/usr/lib/xfce4 +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=$_libexecdir \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-locking + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + chgrp shadow "$pkgdir"$_libexecdir/xfce4-screensaver-dialog + chmod +s "$pkgdir"$_libexecdir/xfce4-screensaver-dialog +} + +sha512sums="749af5968937058618e4670904881e1bd4bee0b94c97629f07a7a8f00f38af25ad75ffc8a2590c70f7dbc597d60dab91700cbd2b6b47aae3458580e9de4107c5 xfce4-screensaver-0.1.3.tar.bz2" -- cgit v1.2.3