38 lines
891 B
Bash
38 lines
891 B
Bash
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:
|