# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=dfl-login1
pkgver=0.2.0
pkgrel=0
pkgdesc="Implementation of systemd/elogind for DFL"
url="https://gitlab.com/desktop-frameworks/login1"
arch="all"
license="GPL-3.0-only"
makedepends="qt5-qtbase-dev meson"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/desktop-frameworks/login1/-/archive/v$pkgver/login1-v$pkgver.tar.gz"
builddir="$srcdir/login1-v$pkgver"
options="!check" # no test suite

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

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

sha512sums="
c95717a5c731d894a1d21c14c305f14cfaf026ed8ad752de5a68fbef814244c1db9b3d9c3dee858d44018b4c433dc1dc99c8e9ed7abdbc5ca55b14c697bbbe74  dfl-login1-0.2.0.tar.gz
"
