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=('GPL-3.0-or-later') groups=('base-devel') depends=('ncurses' 'gzip' 'perl' 'bash') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha256sums=(0329d7788fbef113fa82cb80889ca197a344ce0df7646fe000974c5d714363a6) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} TEXMF=/usr/share/texmf install-tex }