Name texinfo
Description GNU documentation system for on-line information and printed output
Version 7.2-1
Package Base texinfo
Homepage https://www.gnu.org/software/texinfo/
Maintainers ['Frederik Schwan <freswa@archlinux.org>']
Contributors ['Allan McRae <allan@archlinux.org>', 'Bartłomiej Piotrowski <bpiotrowski@archlinux.org>', 'Tom Newsom <Jeepster@gmx.co.uk>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/texinfo
Sources ['https://ftp.gnu.org/pub/gnu/texinfo/texinfo-7.2.tar.xz', 'https://ftp.gnu.org/pub/gnu/texinfo/texinfo-7.2.tar.xz.sig', 'texinfo-install.hook', 'texinfo-remove.hook']
Dependencies ['gzip', 'ncurses', 'perl', 'sh']
Optional-Dependencies ['perl-archive-zip']
Build-Dependencies []
Provides []
Builddate 28-12-2024 14:17:55
Architecture x86_64
Distro-Version
Licenses ['GPL3']
Hash 1d15037be4d484961356cb755745e29dcbc86dc35e3a6c78eea568b808a63051
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=texinfo
pkgver=7.2
pkgrel=1
pkgdesc='GNU documentation system for on-line information and printed output'
arch=(x86_64)
url='https://www.gnu.org/software/texinfo/'
license=(GPL3)
depends=(ncurses gzip perl sh)
optdepends=('perl-archive-zip: EPUB file output via texi2any')
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
        texinfo-install.hook
        texinfo-remove.hook)
sha256sums=('0329d7788fbef113fa82cb80889ca197a344ce0df7646fe000974c5d714363a6'
            'SKIP'
            'beb0ff50bd8e8ca1d6e1c01e6a50352f9d25937c62822cf767a7b3d8f7374a9d'
            '913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9')
validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

check() {
  make -C $pkgname-$pkgver check
}

package() {
  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install

  install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
  install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/
}