PKGBUILDs/extra/help2man/PKGBUILD

37 lines
927 B
Bash
Raw Normal View History

2012-03-04 18:59:55 +00:00
# $Id: PKGBUILD 151902 2012-03-03 16:12:24Z giovanni $
2011-01-22 00:56:40 +00:00
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
2012-03-04 19:00:18 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2011-01-22 00:56:40 +00:00
# - make install must be run as -j1, mkdir is not thread-safe for whatever reason
plugrel=1
pkgname=help2man
2012-03-26 14:22:33 +00:00
pkgver=1.40.7
2012-01-12 20:36:59 +00:00
pkgrel=1
2011-01-22 00:56:40 +00:00
pkgdesc="Conversion tool to create man files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
2011-05-26 12:50:27 +00:00
install=help2man.install
2011-03-23 22:20:47 +00:00
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
2012-03-26 14:22:33 +00:00
md5sums=('8abef49b3cbbb1a7c599341d9ab1bd0f')
2011-01-22 00:56:40 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
2012-03-04 18:59:55 +00:00
--libdir=/usr/lib
2011-03-23 22:20:47 +00:00
make
2011-02-09 21:31:56 +00:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-03-23 22:20:47 +00:00
make -j1 DESTDIR="${pkgdir}" install
2011-01-22 00:56:40 +00:00
}