maintainer="Callum Andrew <contact@candrew.net>"
pkgname=wl-ime-type
pkgver=0.1.1
pkgrel=0
pkgdesc="Type text via Wayland's input-method-unstable-v2 protocol"
url="https://git.sr.ht/~emersion/wl-ime-type"
license="BSD-2-Clause"
arch="all"
makedepends="wayland-dev scdoc"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/wl-ime-type/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make all
}

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

sha512sums="
bf5c7dcb59dd571a796cd820e58a5958020c20c98dac17ad338a89e3739c00b6b9b5cc456168d0b0b19398edcef7ed9077ae840a6c0f9545b3b3a1804b593c60  wl-ime-type-0.1.1.tar.gz
"
