# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=roffit
pkgver=0.16
pkgrel=0
pkgdesc="Command line tool that reads nroff and outputs HTML"
url="https://daniel.haxx.se/projects/roffit"
arch="noarch"
license="curl"
options="!check" # no test suite
depends="perl"
subpackages="$pkgname-doc"
source="https://github.com/bagder/roffit/archive/$pkgver/roffit-$pkgver.tar.gz"

package() {
	install -Dm755 roffit "$pkgdir"/usr/bin/roffit
	install -Dm644 roffit.1 "$pkgdir"/usr/share/man/man1/roffit.1
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/roffit/LICENSE
}

sha512sums="
135bccb46a2a10864e0212537273cbf2996b63935c32d97f488d9d089faa75ceec1e594492e13f30323176b11c27030f9a81ec74c92fde7a4cfa91f7800d7cf6  roffit-0.16.tar.gz
"
