PKGBUILDs/extra/help2man/PKGBUILD

31 lines
864 B
Bash
Raw Normal View History

2011-01-22 00:56:40 +00:00
# $Id: PKGBUILD 83522 2010-06-21 22:45:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# PlugApps: 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.38.2
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')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('426671c6fe79e5ef2233303367eab5a6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/lib
make || return 1
make -j1 DESTDIR="${pkgdir}" install || return 1
}