# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname=suggpicker
pkgver=0.1.4
pkgrel=0
pkgdesc="Floating on-screen picker to complement your wayland virtual keyboard"
url="https://sr.ht/~earboxer/suggpicker"
arch="all"
license="GPL-3.0-only"
options="!check" # has no tests
makedepends="pango-dev wayland-dev scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~earboxer/suggpicker/archive/v$pkgver.tar.gz"
builddir="$srcdir/suggpicker-v$pkgver"

build() {
	make
}

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

sha512sums="
4f93e2a892d4980722d27839434b1ba1d7b5e5e348a856cbcacad32ebcd158e1c429cf419982b4085f8ff72158aed99fc657a3674808cb9ea548b17fea2d9152  suggpicker-0.1.4.tar.gz
"
