PKGBUILDs/extra/help2man/PKGBUILD

35 lines
917 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
pkgname=help2man
2012-09-01 16:51:59 +00:00
pkgver=1.40.12
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-09-01 16:51:59 +00:00
md5sums=('6a37675ce2b0897cd8c6c19106e510a3')
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
}