🔒 Repository is read-only – file editing is disabled.

recipes/core/mandoc/PAGBUILD.yaml main

52 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
pkgname: mandoc
pkgver: '1.14.6'
pkgrel: '2'
pkgdesc: 'mandoc - a document processor for mdoc and man'
url: 'https://mdocml.bsd.lv/'
arch: x86_64
depends: []
makedepends:
- zlib

source:
- 'https://mandoc.bsd.lv/snapshots/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  cat >configure.local <<-'EOF'
  		OSNAME=CRUX
  		PREFIX=/usr
                  SBINDIR=/usr/bin
  		MANDIR=/usr/share/man

  		MANPATH_DEFAULT="/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/man"
  		MANPATH_BASE="/usr/share/man:/usr/man"

  		MANM_MANCONF="mandoc.conf"

  		MANM_MAN="mandoc_man"
  		MANM_MDOC="mandoc_mdoc"
  		MANM_ROFF="mandoc_roff"
  		MANM_EQN="mandoc_eqn"
  		MANM_TBL="mandoc_tbl"

  		BINM_MAN=mman
  		BINM_APROPOS=mapropos
  		BINM_WHATIS=mwhatis
  		BINM_MAKEWHATIS=mandocdb
  		BINM_SOELIM=msoelim

  		LN="ln -sf"
  	EOF
  ./configure --prefix=/usr
  make
  make DESTDIR=${PKGDIR} install

  rm -rf ${PKGDIR}/share/examples

package: |
  true