PKGBUILDs/extra/help2man/PKGBUILD
2016-05-05 00:50:57 +00:00

35 lines
1,005 B
Bash

# $Id: PKGBUILD 151902 2012-03-03 16:12:24Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - make install must be run as -j1, mkdir is not thread-safe for whatever reason
pkgname=help2man
pkgver=1.47.3
pkgrel=2
pkgdesc="Conversion tool to create man files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
md5sums=('d1d44a7a7b2bd61755a2045d96ecaea0'
'SKIP')
validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea <bod@debian.org>
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/usr/lib
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -j1 DESTDIR="${pkgdir}" install
}