aboutsummaryrefslogtreecommitdiffstats
path: root/community/marco/APKBUILD
blob: 2e6158a6b4464c35e7260557175bcd9c5081f53d (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=marco
pkgver=1.22.1
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"
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"
builddir="$srcdir/$pkgname-$pkgver"

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="18093f4d419fbc90f957a04ec3e36a153b3c51a6bcdc1ac5884adcc0292f157bc5e4af51e171451a4b54b5bccffdee2e8a07ed13dafb6106773abfb06b6a8a4f  marco-1.22.1.tar.xz"