aboutsummaryrefslogtreecommitdiffstats
path: root/testing/light-locker/APKBUILD
blob: ab7596e2e871fb0a07d249268ccbf0203eafb04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=light-locker
pkgver=1.9.0
pkgrel=0
pkgdesc="Simple session-locker for LightDM"
options="!check" # No testsuite
url="https://github.com/the-cavalry/light-locker"
arch="all"
license="GPL-2.0-or-later"
depends="lightdm elogind"
makedepends="meson glib-dev gtk+3.0-dev dbus-glib-dev libx11-dev
	libxext-dev libxscrnsaver-dev dbus-dev libxxf86vm-dev
	upower-dev intltool elogind-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/the-cavalry/light-locker/archive/v$pkgver.tar.gz
	"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dmit-ext=true \
		-Ddpms-ext=true \
		-Dxf86gamma-ext=true \
		-Dsystemd=true \
		-Dupower=true \
		-Dlate-locking=true \
		-Dlock-on-suspend=true \
		-Dlock-on-lid=true \
		-Dgsettings=true \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c6f84b38affa20cf0bd7d2341f5a8eff36891ed55401955715a68a011c84c7f2300db670abb95a320eb40aee90885fe044ddf0a721e418ee4724af3e4f6a61a4  light-locker-1.9.0.tar.gz"