mandoc 1.14.6-1

This commit is contained in:
xhaa123 2024-10-31 13:23:56 +08:00
commit d14cf3b64a

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Future Linux Team <futurelinux@163.com>
pkgname=mandoc
pkgver=1.14.6
pkgrel=1
pkgdesc="A suite of tools compiling mdoc from the OpenBSD project"
arch=('x86_64')
url="https://mdocml.bsd.lv"
license=('ISC')
depends=('zlib')
source=(https://mandoc.bsd.lv/snapshots/${pkgname}-${pkgver}.tar.gz)
sha256sums=(8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
make mandoc
}
package() {
cd ${pkgname}-${pkgver}
install -vDm755 mandoc ${pkgdir}/usr/bin/mandoc
install -vDm644 mandoc.1 ${pkgdir}/usr/share/man/man1/mandoc.1
}