aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-desktop/APKBUILD
blob: 58e21b6aceaf3fa7175fce487f786a740a972b7b (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-desktop
pkgver=3.30.1
pkgrel=0
pkgdesc="gnome desktop core libraries"
url="https://www.gnome.org/"
arch="all"
license="GPL"
depends_dev="gvfs-dev libgudev-dev eudev-dev iso-codes-dev
	gobject-introspection-dev"
makedepends="$depends_dev xkeyboard-config itstool libxml2-utils gtk+3.0-dev libseccomp-dev
	gsettings-desktop-schemas-dev gtk-doc py-six"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

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

sha512sums="2b54c3c724e648686e3360b5612db2710d6408a3494ad5dcbc48e94052edb3261d28224239baa5b6b1a3ceaefc7f3b45d7aad83d63eb3f5c7f241666a9333a1f  gnome-desktop-3.30.1.tar.xz"