aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-settings-daemon/APKBUILD
blob: c575bd32950a6bfd57aebc9e561b057041de8bd4 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-settings-daemon
pkgver=1.21.2
pkgrel=1
pkgdesc="MATE Settings daemon"
url="https://github.com/mate-desktop/mate-settings-daemon"
arch="all"
license="GPL-2.0-or-later LGPL-2.1-or-later"
depends="mate-common mate-desktop"
makedepends="libtool intltool libmatekbd-dev freeglut-dev
	glib-dev gtk+3.0-dev dbus-glib-dev dconf-dev libxklavier-dev libsm-dev
	mate-desktop-dev polkit-dev startup-notification-dev
	libcanberra-dev libmatemixer-dev libnotify-dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-polkit \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
}

sha512sums="95670b9b1d805d70e26e7a6d5ab39d53dca5a95db57ff3699adb28ed16df74e26799b0437b0bdbc3978a7bc1a6c38baaac6bb59184c55cb3e5d36405bc7bd1c1  mate-settings-daemon-1.21.2.tar.xz"