PKGBUILDs/extra/help2man/PKGBUILD
2012-01-12 15:36:59 -05:00

37 lines
919 B
Bash

# $Id: PKGBUILD 146519 2012-01-12 10:34:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - make install must be run as -j1, mkdir is not thread-safe for whatever reason
plugrel=1
pkgname=help2man
pkgver=1.40.5
pkgrel=1
pkgdesc="Conversion tool to create man files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
install=help2man.install
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('75a7d2f93765cd367aab98986a75f88c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/lib
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -j1 DESTDIR="${pkgdir}" install
}