# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> pkgname=libwnck pkgver=3.32.0 _pkgmaj=${pkgver%.*} pkgrel=0 pkgdesc="Window navigator construction kit library from Gnome" url="https://gnome.org" arch="all" license="LGPL-2.0+" makedepends="glib-dev gtk+3.0-dev gobject-introspection-dev vala-dev startup-notification-dev meson ninja" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/libwnck/$_pkgmaj/libwnck-$pkgver.tar.xz" prepare() { default_prepare mkdir -p "$builddir"/build } build() { cd "$builddir"/build meson \ -Dprefix=/usr \ .. ninja } check() { cd "$builddir"/build ninja test } package() { cd "$builddir"/build DESTDIR="$pkgdir" ninja install } sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de libwnck-3.32.0.tar.xz"