# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=hopalong
pkgver=0.1
pkgrel=3
pkgdesc="a simple stacking Wayland compositor"
url="https://github.com/iridescent-desktop/hopalong"
arch="all"
license="ISC"
depends=""
makedepends="meson
	     wlroots0.12-dev
	     pango-dev cairo-dev glib-dev
	     wayland-dev
	     mesa-dev"
install=""
subpackages=""
source="https://github.com/iridescent-desktop/hopalong/archive/v$pkgver/hopalong-$pkgver.tar.gz"
builddir="$srcdir/hopalong-$pkgver"
options="!check"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	# Replace with proper check command(s)
	:
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
4a9b5698b3501dfc546b00f36341eac0b15bcbcf380f61a1ff064b55613a25e2f492324c5b9f202917eedc4c0a67b5f8e0be0598446ac4609cef4773d3a1e948  hopalong-0.1.tar.gz
"
