aboutsummaryrefslogtreecommitdiffstats
path: root/community/marco/APKBUILD
blob: 3af91e4240dc6d28da9422b8fa1b41f25edc71c5 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=marco
pkgver=1.22.2
pkgrel=0
pkgdesc="MATE window manager"
url="https://github.com/mate-desktop/marco"
arch="all"
license="GPL-2.0-or-later"
depends="mate-common yelp-tools libxml2-utils mate-desktop"
makedepends="libtool itstool zenity intltool glib-dev gtk+3.0-dev
	libxcomposite-dev libxpresent-dev libcanberra-dev startup-notification-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-static=no \
		--prefix=/usr
	make CFLAGS+=" -D_GNU_SOURCE"
}

check() {
	make check
}

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

sha512sums="96665120dbc698c78795eeaa559ae2bfd2a3c7ed4846e40bcfb1d6dfc8d7e359b860e1e715085a17e11c66ce7f31561d372da8372209c21c7b1ce6029a3f5ea1  marco-1.22.2.tar.xz"