summaryrefslogtreecommitdiff
path: root/core/texinfo/PKGBUILD
blob: 0dc4ef81d83479dca8e8f32087c26164b1d98bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 176250 2013-01-28 00:29:28Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=texinfo
pkgver=4.13a
pkgrel=8
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/texinfo/"
license=('GPL3')
groups=('base' 'base-devel')
depends=('ncurses' 'findutils' 'gzip' 'sh')
install=texinfo.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}
        texinfo-4.13a-data_types.patch)
md5sums=('71ba711519209b5fb583fed2b3d86fcb'
         'db2ca82c831684cd7cef181234017c46'
         'd8574782ff7def1e2dc5c291dbeaec18')

build() {
  cd ${srcdir}/${pkgname}-4.13
  patch -Np1 -i $srcdir/texinfo-4.13a-data_types.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-4.13
  make DESTDIR=${pkgdir} install

  # fix this here as it prevents make from trying to rebuild manual pages
  sed -i 's#A-z#A-Za-z#' ${pkgdir}/usr/bin/texi2dvi
}