aboutsummaryrefslogblamecommitdiffstats
path: root/community/xfce4-screensaver/APKBUILD
blob: 2fde3313a86a57cfd643dba71785362b2cb4cc3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                   
            


                                                        

                          

                                                                            
                                 
                                        
                                                                                                  



                                                                                    












                                           



                  




                                                                   
                                                                                                                                                                              
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-screensaver
pkgver=0.1.8
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 libwnck3-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="4cb76272f2f94f5e265a86d3fa58de8da6167da013466a4dd2a08a2e94fafe14816ce6c5a1e635a8c07e91497ede0650c014d21b0bbac666b8a72bc5f4645f69  xfce4-screensaver-0.1.8.tar.bz2"