summaryrefslogtreecommitdiffstats
path: root/abs/core/texinfo/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:01:30 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:01:30 (GMT)
commit6ba11d82357ee2f24b12ccd92ab5747d198df0da (patch)
treec2f9bf007f973cd8ffc400e851a62a3c31afe340 /abs/core/texinfo/PKGBUILD
parentdd0640965bc6bc0fd1ade2c7ef21e0475392bbf6 (diff)
downloadlinhes_pkgbuild-6ba11d82357ee2f24b12ccd92ab5747d198df0da.zip
linhes_pkgbuild-6ba11d82357ee2f24b12ccd92ab5747d198df0da.tar.gz
linhes_pkgbuild-6ba11d82357ee2f24b12ccd92ab5747d198df0da.tar.bz2
texinfo: 4.13a
Diffstat (limited to 'abs/core/texinfo/PKGBUILD')
-rw-r--r--abs/core/texinfo/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/abs/core/texinfo/PKGBUILD b/abs/core/texinfo/PKGBUILD
index 69aa173..22ef3c6 100644
--- a/abs/core/texinfo/PKGBUILD
+++ b/abs/core/texinfo/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 13367 2008-09-27 01:52:08Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
+# $Id: PKGBUILD 145004 2011-12-13 23:40:32Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=texinfo
pkgver=4.13a
-pkgrel=1
+pkgrel=7
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')
-depends=('ncurses')
+depends=('ncurses' 'findutils' 'gzip')
install=texinfo.install
-source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('71ba711519209b5fb583fed2b3d86fcb')
-sha1sums=('a1533cf8e03ea4fa6c443b73f4c85e4da04dead0')
+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
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- rm -f ${pkgdir}/usr/share/info/dir
- gzip ${pkgdir}/usr/share/info/*
+ 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
}