pkgname: man-db pkgver: '2.13.1' pkgrel: '2' pkgdesc: The Man-DB package contains programs for finding and viewing man pages. url: 'https://savannah.nongnu.org/projects/man-db' arch: x86_64 depends: - groff - less makedepends: - gdbm - libpipeline source: - 'https://deb.debian.org/debian/pool/main/m/man-db/man-db_${pkgver}.orig.tar.xz' sha256sums: - 8afebb6f7eb6bb8542929458841f5c7e6f240e30c86358c1fbcefbea076c87d9 build: | cd man-db-${pkgver} PKG_CONFIG_PATH="/usr/lib/pkgconfig" ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --docdir=/usr/share/doc/${pkgname} \ --sbindir=/usr/bin \ --sysconfdir=/etc --disable-setuid \ --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \ --with-grap=/usr/bin/grap \ --with-systemdsystemunitdir=/usr/lib/systemd/system make # Certains test fails make -k check || true make DESTDIR=${PKGDIR} install cat >> convert-mans << "EOF" #!/bin/sh -e FROM="$1" TO="$2" shift ; shift while [ $# -gt 0 ] do FILE="$1" shift iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv mv .tmp.iconv "$FILE" done EOF install -m755 convert-mans ${PKGDIR}/usr/bin package: | true