aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-desktop/APKBUILD
blob: 33881bbf2fa19bae2e2e0233eb469933f1dd2946 (plain) (blame)
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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-desktop
pkgver=1.26.0
pkgrel=1
pkgdesc="The MATE Desktop Environment"
url="https://mate-desktop.org/"
# s390x, mips64 and riscv64 blocked by librsvg
arch="all !s390x !mips64 !riscv64"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
depends="mate-common yelp-tools"
makedepends="startup-notification itstool intltool dconf-dev gtk+3.0-dev
	libxrandr-dev libxml2-utils iso-codes-dev librsvg"
subpackages="$pkgname-lang $pkgname-dev $pkgname-doc"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-desktop-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-static=no \
		--sysconfdir=/etc \
		--prefix=/usr
	# https://bugzilla.gnome.org/show_bug.cgi?id=656231
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
	make
}

check() {
	make check
}

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

sha512sums="
73189cf2d5106fa632ed9272d7ba069ed4ff4b3032d279dce9953e322b487463fca5ffc42af00eed4344cfdecbc9a2f95f1f2ae96386d26c0ad0cfcd0ed226cc  mate-desktop-1.26.0.tar.xz
"