32 lines
892 B
Bash
32 lines
892 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=help2man
|
|
pkgver=1.48.1
|
|
pkgrel=1
|
|
pkgdesc="Conversion tool to create man files"
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.gnu.org/software/help2man/"
|
|
license=('GPL-3')
|
|
depends=('perl-locale-gettext')
|
|
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha512sums=('506e7a0e6571facc570df57b875d6d6b911b281b38af1831d3a058a6de658c3656e3a5be970fa3d89c053ab6eafd4853527512b48524ceeff6da60f946f1ecef'
|
|
'SKIP')
|
|
validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea <bod@debian.org>
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
|
}
|