aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-session-manager/APKBUILD
blob: 0b426755fb55311b982c288eb2a1ec91a3895c88 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-session-manager
pkgver=1.21.0
pkgrel=0
pkgdesc="The MATE session manager"
url="https://github.com/mate-desktop/mate-session-manager"
arch="all"
license="GPL-2.0"
depends="mate-common mate-desktop"
makedepends="intltool libtool dconf-dev dbus-glib-dev gtk+3.0-dev
	libsm-dev mate-desktop-dev"
subpackages="$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 \
		--prefix=/usr
	make
}

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

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

sha512sums="fefe9566b0bcc682c093101f892e546dfc01c5ce0ea492a5fb6654bdc8178675e746c6b1c6b2ae519b5767615f32a7e58c9b296f86da7b26c789df3b1c6a794f  mate-session-manager-1.21.0.tar.xz"