summaryrefslogtreecommitdiff
path: root/user/marco/APKBUILD
blob: c227e07b19d3e4fac490e914b003520a5dff71ae (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
40
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=marco
pkgver=1.22.3
pkgrel=0
pkgdesc="Window manager for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-2.0+ AND MIT-advertising AND MIT-CMU"
depends=""
makedepends="gtk+3.0-dev intltool itstool libcanberra-dev libice-dev libsm-dev
	libxml2-utils zenity"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/marco-$pkgver.tar.xz
	correctly-posix.patch"

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="439b327949b12d0a440fa29dfa7a40783003e7bce77a12695258d438d8c34ff4acc6b2563bc6d8c19ed0556a2a26d64a50aa9aa3c6a05f25e3a30992b00805b0  marco-1.22.3.tar.xz
b377b2a7d2af094a8b4bd6d1827c85f9675656cd8bdc6892b334c8479d188459ec8585fed3c746fdaef5820f768ce93605586693a3308f0db2d6f58e08f4df49  correctly-posix.patch"