# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=drawterm-sourcehut
pkgver=0_hg20200708
_hgver=7afe16f1fa6a
pkgrel=1
pkgdesc="Connect to Plan 9 CPU servers from other operating systems"
url="http://drawterm.9front.org/"
arch="all"
license="LPL-1.02"
options="!check" # upstream does not have a test suite
makedepends="linux-headers libx11-dev libxt-dev"
subpackages="$pkgname-dbg"
source="https://hg.sr.ht/~sircmpwn/drawterm/archive/$_hgver.tar.gz"
builddir="$srcdir/drawterm-$_hgver"
build() {
CONF=unix make
}
package() {
install -Dm755 drawterm \
"$pkgdir"/usr/bin/drawterm
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="2903df024eee071b8646f6a88c31fe50644b147e2817817acd4c831a290901eab3bf2ca391a5f290f4d8038940a3dbb08d0f89d1ed6534cf578d20ae41d383d3 7afe16f1fa6a.tar.gz"