mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 13:07:15 +08:00
34 lines
945 B
Bash
34 lines
945 B
Bash
|
# $Id: PKGBUILD 67994 2010-02-10 11:34:11Z giovanni $
|
||
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
||
|
# Contributor: Paul Mattal <paul@mattal.com>
|
||
|
|
||
|
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
|
||
|
help2man-1.37.1-respect-LDFLAGS.patch)
|
||
|
md5sums=('426671c6fe79e5ef2233303367eab5a6'
|
||
|
'6f80dfd75b46c6bfbc2eeb5516771096')
|
||
|
|
||
|
build() {
|
||
|
# Fix Build
|
||
|
export MAKEFLAGS="-j1"
|
||
|
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
|
||
|
patch -Np1 -i ${srcdir}/help2man-1.37.1-respect-LDFLAGS.patch || return 1
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--infodir=/usr/share/info \
|
||
|
--libdir=/lib
|
||
|
make || return 1
|
||
|
echo "build done"
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|