# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Thomas Böhler <witcher@wiredspace.de>
pkgname=scd2html
pkgver=1.0.0
pkgrel=2
pkgdesc="Tool for generating HTML from scdoc files"
url="https://sr.ht/~bitfehler/scd2html"
arch="all"
license="MIT"
makedepends="scdoc"
subpackages="$pkgname-doc $pkgname-dev"
source="scd2html-v$pkgver.tar.gz::https://git.sr.ht/~bitfehler/scd2html/archive/v$pkgver.tar.gz"
builddir="$srcdir/scd2html-v$pkgver"

build() {
	make -e all
}

check() {
	./scd2html -v
}

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

sha512sums="
bf260106d69ebe5f9841cc5dd3d8e56b3e234aa81d468f195b9511970d58849edfbcf6962650fe36bd07f73151a48f2fdf0c504154976d386b4b9bfb60cb442d  scd2html-v1.0.0.tar.gz
"
