# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=s6-portable-utils-man-pages
pkgver=2.3.0.3.1
pkgrel=0
pkgdesc="Unofficial mdoc versions of the s6-portable-utils documentation"
url="https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages"
arch="noarch"
license="ISC"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no tests
install_if="${pkgname%-*-*}>=${pkgver%.*} docs"

package() {
	make DESTDIR="$pkgdir" install

	find "$pkgdir" -type f ! -name "*.gz" \
		-exec gzip -9 {} \;
}

sha512sums="
ae487a5d2bf2554f87c840b5fb003de6fcdf542817fe43e7824d0318cb4ee797d1547f4d56f5d5ebe1da3d909edc6da3f498e5f21f8c028c4478a460181a2cbc  s6-portable-utils-man-pages-2.3.0.3.1.tar.gz
"
