PKGBUILD 732 Bytes
Newer Older
Neophytos's avatar
Neophytos committed
1 2
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas[at]chakra-project[dot]org>
abveritas's avatar
abveritas committed
3 4

pkgname=help2man
Luca Giambonini's avatar
Luca Giambonini committed
5
pkgver=1.46.4
6
pkgrel=1
abveritas's avatar
abveritas committed
7
pkgdesc="Conversion tool to create man files"
8
arch=('x86_64')
abveritas's avatar
abveritas committed
9 10 11
url="http://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
Neophytos's avatar
Neophytos committed
12
install=help2man.install
Luca Giambonini's avatar
Luca Giambonini committed
13
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
Luca Giambonini's avatar
Luca Giambonini committed
14
md5sums=('a1b7fe49eddae8a2537ed74ee9ef11cb')
abveritas's avatar
abveritas committed
15 16 17 18 19 20 21

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --mandir=/usr/share/man \
	      --infodir=/usr/share/info \
22 23 24 25 26 27 28 29
	      --libdir=/usr/lib
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
abveritas's avatar
abveritas committed
30
}