# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=drawterm-sourcehut
pkgver=0_hg20200508
_hgver=04a5702cdae8
pkgrel=0
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="fb10071bf9028e51a401cceaf90d5df2710a549a267f46683fac919b9101733b03a0af700b78512c4d3bfa73a2ac875dbb72dd933acb2a1315d5fd0dcfc0f9aa 04a5702cdae8.tar.gz"