diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/texinfo | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/texinfo')
-rw-r--r-- | abs/core/texinfo/ChangeLog | 17 | ||||
-rw-r--r-- | abs/core/texinfo/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/core/texinfo/texinfo.install | 18 |
3 files changed, 61 insertions, 0 deletions
diff --git a/abs/core/texinfo/ChangeLog b/abs/core/texinfo/ChangeLog new file mode 100644 index 0000000..46091e7 --- /dev/null +++ b/abs/core/texinfo/ChangeLog @@ -0,0 +1,17 @@ +2008-09-26 Eric Belanger <eric@archlinux.org> + + * texinfo 4.13a-1 + * Upstream update + * Moved to base group + * Added install scriptlet to handle info pages + +2008-04-28 Eric Belanger <eric@archlinux.org> + + * texinfo 4.12-2 + * Added to base-devel group + +2008-04-21 Eric Belanger <eric@archlinux.org> + + * texinfo 4.12-1 + * Upstream update + * Updated license diff --git a/abs/core/texinfo/PKGBUILD b/abs/core/texinfo/PKGBUILD new file mode 100644 index 0000000..69aa173 --- /dev/null +++ b/abs/core/texinfo/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 13367 2008-09-27 01:52:08Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=texinfo +pkgver=4.13a +pkgrel=1 +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') +install=texinfo.install +source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('71ba711519209b5fb583fed2b3d86fcb') +sha1sums=('a1533cf8e03ea4fa6c443b73f4c85e4da04dead0') + +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/* +} diff --git a/abs/core/texinfo/texinfo.install b/abs/core/texinfo/texinfo.install new file mode 100644 index 0000000..87c7ac4 --- /dev/null +++ b/abs/core/texinfo/texinfo.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(info.info.gz info-stnd.info.gz texinfo.gz texinfo-1.gz texinfo-2.gz texinfo-3.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |