mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
31 lines
1 KiB
Bash
31 lines
1 KiB
Bash
# $Id: PKGBUILD 54002 2009-10-05 15:41:45Z giovanni $
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
# Contributor: Paul Mattal <paul@mattal.com>
|
|
|
|
pkgname=help2man
|
|
pkgver=1.36.4
|
|
pkgrel=4
|
|
pkgdesc="Conversion tool to create man files"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/help2man/"
|
|
license=('GPL2')
|
|
depends=('glibc' 'perl-locale-gettext')
|
|
makedepends=()
|
|
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
help2man-1.36.4-locale-gettext-import.patch
|
|
help2man-1.36.4-respect-LDFLAGS.patch)
|
|
md5sums=('d31a0a38c2ec71faa06723f6b8bd3076'
|
|
'5b2f61291ca294690d2d6a3f5d857641'
|
|
'ae6566e565d75dbf33a1bdf0b3bda87a')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -Np1 -i ${srcdir}/help2man-1.36.4-locale-gettext-import.patch || return 1
|
|
patch -Np1 -i ${srcdir}/help2man-1.36.4-respect-LDFLAGS.patch || return 1
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--libdir=/lib
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|