aboutsummaryrefslogtreecommitdiffstats
path: root/community/marco/APKBUILD
blob: 86afb176a5f0c4c03666b6330e2892b7e4769909 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=marco
pkgver=1.21.0
pkgrel=1
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 libcanberra-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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-static=no \
		--prefix=/usr
	make CFLAGS='-D_GNU_SOURCE'
}

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

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

sha512sums="13d44023230d566eb67026d2a3f80c4fae13e61573740becdc535d48d6b032f4906ca939059090f839ef1e2bce1263869c5a3963b58ae1d74d37ce1b2d2740d5  marco-1.21.0.tar.xz"