# Maintainer: omni <omni+alpine@hack.org>
pkgname=havoc
pkgver=0.6.0
pkgrel=0
pkgdesc="terminal emulator for Wayland"
arch="all"
url="https://github.com/ii8/havoc"
license="PD OR MIT"
makedepends="wayland-dev wayland-protocols libxkbcommon-dev"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ii8/havoc/archive/$pkgver.tar.gz"

build() {
	make havoc
}

package() {
	install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin

	install -Dm0644 "$pkgname".cfg -t "$pkgdir"/usr/share/doc/"$pkgname"
	install -Dm0644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"
}

sha512sums="
0bfde15483ba3133c6900de7a82b646e33ecd60321694f592e5b3719540f1a257ee2ef24deff645e1543e407560b044321f34f7cedaeb0466ae4226cd24a71a3  havoc-0.6.0.tar.gz
"
