# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=gtklock
pkgver=2.1.0
pkgrel=0
pkgdesc="GTK-based lockscreen for Wayland"
url="https://github.com/jovanlanik/gtklock"
arch="all"
license="GPL-3.0-only"
makedepends="linux-pam-dev glib-dev gtk-layer-shell-dev gtk+3.0-dev wayland-dev scdoc"
subpackages="$pkgname-doc"
source="https://github.com/jovanlanik/gtklock/archive/v$pkgver/gtklock-v$pkgver.tar.gz"
options="!check"	# no upstream tests

build() {
	make
}

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

sha512sums="
63fedae301089d922804398aa957eb784778ec033f0f7fd49e85fef0bbf6a029942e55751bcb05e99ded6c42ea88d601531a3b81cd33509ba0cae4cf81d84ce8  gtklock-v2.1.0.tar.gz
"
