mandoc 1.14.6-2

This commit is contained in:
xhaa123 2024-10-31 15:04:37 +08:00
parent d14cf3b64a
commit d6801d4f6e

View File

@ -1,19 +1,30 @@
# Maintainer: Future Linux Team <futurelinux@163.com>
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <xhaa123@outlook.com>
pkgname=mandoc
pkgver=1.14.6
pkgrel=1
pkgrel=2
pkgdesc="A suite of tools compiling mdoc from the OpenBSD project"
arch=('x86_64')
url="https://mdocml.bsd.lv"
license=('ISC')
depends=('zlib')
makedepends=('less')
source=(https://mandoc.bsd.lv/snapshots/${pkgname}-${pkgver}.tar.gz)
sha256sums=(8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c)
build() {
cd ${pkgname}-${pkgver}
# apply CFLAGS and LDFLAGS from makepkg.conf
{
echo "CFLAGS=${CFLAGS@Q}"
echo "LDFLAGS=${LDFLAGS@Q}"
} >> configure.local
${CONFIGURE}
make mandoc