# 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=b87549edc3d7
pkgrel=2
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="f87610f918c5e271cd5e26ffaf797fd58cf11a4f8e691f6b9a5e70cba632bc9c7c2783db4ae59ff6857c64b64082b6f5da02612cb03bca1afcac66264622943b b87549edc3d7.tar.gz"