From 367aeab97b5d97387ffc1d5c7660d0e95502d47e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 12 Jun 2019 09:05:54 +0000 Subject: community/xfce4-screensaver: move from testing --- community/xfce4-screensaver/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 community/xfce4-screensaver/APKBUILD (limited to 'community') diff --git a/community/xfce4-screensaver/APKBUILD b/community/xfce4-screensaver/APKBUILD new file mode 100644 index 0000000000..d956fea121 --- /dev/null +++ b/community/xfce4-screensaver/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Natanael Copa +pkgname=xfce4-screensaver +pkgver=0.1.4 +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="5f074eb3c34ba731d0c135c657043ee687809146be512943f0f2892e1d06806400a5ecb1278dcb47da39ded47ddd4f9020cefc917ebb502962e16e56ee3a9b6d xfce4-screensaver-0.1.4.tar.bz2" -- cgit v1.2.3