PKGBUILDs/extra/help2man/PKGBUILD
2011-11-29 14:20:58 -05:00

36 lines
864 B
Bash

# 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.4
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')
install=help2man.install
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('4d79dc7cb7c20019c2a3650d35259c45')
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
}