aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-session/APKBUILD
blob: f754c785d04a786aa348e920cd6cfe6094f5023c (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-session
pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME session manager"
url="http://www.gnome.org/"
arch="all !aarch64 !armhf !s390x"
license="GPL"
depends="gnome-shell"
makedepends="gnome-settings-daemon-dev libsm-dev 
	consolekit2-dev itstool libxslt libxml2-utils json-glib-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	no-rpmatch.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-systemd \
		--enable-consolekit
	make
}

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

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

sha512sums="05ba2465dee4b23d4cf758c15b7a682207fbc50039d95a60c37051cfa31707dc6737bcbf809812b429cb7ce03bf340d30e66916a579677586b3e531c862a6819  gnome-session-3.26.0.tar.xz
0d6057cc47f3494050cf02f55b887ae0fea2b405fe3585b412f91c79dafaab77a4d3da2d77fa65bd43a7a9a77b83c11e78f68af659378f3f62f857ca1a86c6de  no-rpmatch.patch"