summaryrefslogtreecommitdiffstats
path: root/abs/core/texinfo/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 22:42:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 22:42:06 (GMT)
commit508922f8518b3c3d0400f0ce678ebe072ccc69cb (patch)
tree6fe1dee5044ec7794a68f95936392edeec3e91ea /abs/core/texinfo/PKGBUILD
parentf310ab33c7a7a052498345bf1ab4ed0b8109a237 (diff)
downloadlinhes_pkgbuild-508922f8518b3c3d0400f0ce678ebe072ccc69cb.zip
linhes_pkgbuild-508922f8518b3c3d0400f0ce678ebe072ccc69cb.tar.gz
linhes_pkgbuild-508922f8518b3c3d0400f0ce678ebe072ccc69cb.tar.bz2
texinfo: update to 6.5
Diffstat (limited to 'abs/core/texinfo/PKGBUILD')
-rw-r--r--abs/core/texinfo/PKGBUILD49
1 files changed, 27 insertions, 22 deletions
diff --git a/abs/core/texinfo/PKGBUILD b/abs/core/texinfo/PKGBUILD
index 22ef3c6..60ed982 100644
--- a/abs/core/texinfo/PKGBUILD
+++ b/abs/core/texinfo/PKGBUILD
@@ -1,34 +1,39 @@
-# $Id: PKGBUILD 145004 2011-12-13 23:40:32Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=texinfo
-pkgver=4.13a
-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' 'findutils' 'gzip')
-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')
+pkgver=6.5
+pkgrel=1
+pkgdesc='GNU documentation system for on-line information and printed output'
+arch=(x86_64)
+url='http://www.gnu.org/software/texinfo/'
+license=(GPL3)
+groups=(base base-devel)
+depends=(ncurses gzip perl sh)
+source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+ texinfo-install.hook
+ texinfo-remove.hook)
+md5sums=('3715197e62e0e07f85860b3d7aab55ed'
+ 'SKIP'
+ '9a98fb162650ff3065f9a4ebec22db36'
+ '5590fb3ef9ec309c98f5a4d85eca49da')
+validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
build() {
- cd ${srcdir}/${pkgname}-4.13
- patch -Np1 -i $srcdir/texinfo-4.13a-data_types.patch
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
+check() {
+ make -C $pkgname-$pkgver check
+}
+
package() {
- cd ${srcdir}/${pkgname}-4.13
- make DESTDIR=${pkgdir} install
+ make -C $pkgname-$pkgver 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
+ install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
+ install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/
}