# Maintainer: Natanael Copa pkgname=texinfo pkgver=5.2 pkgrel=4 pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file" url="http://www.gnu.org/software/texinfo/" arch="all" license='GPL3+' depends="perl" makedepends="ncurses-dev perl" subpackages="$pkgname-doc" source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR=${pkgdir} install || return 1 rm -f ${pkgdir}/usr/share/info/dir gzip ${pkgdir}/usr/share/info/* rm -rf "$pkgdir"/usr/lib/charset.alias rmdir -p "$pkgdir"/usr/lib 2>/dev/null return 0 } md5sums="cb489df8a7ee9d10a236197aefdb32c5 texinfo-5.2.tar.xz" sha256sums="5471ef683a64588a7cfef46ef2bdd3fbcbca89d847e10832612293f105e44eda texinfo-5.2.tar.xz" sha512sums="6f9c5142db3b155bd601149b5632807b3c20dcfa7006ce5f7e120e6fc4b2174a3f4671c18232c040ffd69ebfb5950be5c563ac5cc08b88d03eb5a9f1b0f96c04 texinfo-5.2.tar.xz"