# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen 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"