new bblfs: sys-apps/help2man-1.49.3

This commit is contained in:
2026-01-08 02:38:26 -05:00
parent cc777d7ee4
commit 160ee84ff9
2 changed files with 104 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
pkgname=help2man
pkgver=1.49.3
pkgdesc="Conversion tool to create man files"
arch=('x86_64')
url="https://www.gnu.org/software/help2man/"
license=('GPL')
depends=()
_patches=("help2man-1.46.1-linguas.patch")
_patch_sums=("0cda34b0c209190ba7709a92394af2d1")
sources=("${pkgname}-${pkgver}.tar.xz"
${_patches[@]})
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}"
${_patches[@]})
md5sums=("2a0ffaa1822df5b6971f486a4fe1a4d1"
${_patch_sums[@]})
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -Np1 -i ${filedir}/${_patch}
done
}
src_build() {
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--disable-nls
make
}
src_install() {
make DESTDIR="${pkgdir}" install
}
# vim:ft=sh syn=sh et sw=2: