aboutsummaryrefslogtreecommitdiffstats
path: root/community/metacity/APKBUILD
blob: a2b2c278b74566209c201c6158d571169cd462b2 (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: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=metacity
pkgver=3.38.0
pkgrel=0
pkgdesc="Metacity is the Gtk+3-based window manager used in gnome-flashback"
url="https://wiki.gnome.org/Projects/Metacity"
arch="all"
license="GPL-2.0-or-later"
depends="zenity gsettings-desktop-schemas"
makedepends="gtk+3.0-dev glib-dev pango-dev libxcomposite-dev libcanberra-dev
	libsm-dev startup-notification-dev libxcursor-dev libgtop-dev libx11-dev
	libxinerama-dev libxrandr-dev vulkan-headers<1.2.140 vulkan-loader-dev
	gsettings-desktop-schemas-dev libxres-dev libxpresent-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/metacity/${pkgver%.*}/metacity-$pkgver.tar.xz"
build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="483a863066b72a4ab41316741baaa91b612b647621b472c2deb09de5511ea0a6e47f6bb5fbfe44337507f09e041fd95b1b9cf084d0bc16f06ed846b4afd1fb24  metacity-3.38.0.tar.xz"