aports/main/texinfo/APKBUILD
2024-07-08 08:41:59 +00:00

40 lines
1.2 KiB
Plaintext

# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=texinfo
pkgver=7.1
pkgrel=3
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
url="https://www.gnu.org/software/texinfo/"
arch="all"
license="GPL-3.0-or-later"
depends="perl"
makedepends="ncurses-dev perl-dev"
install="texinfo.pre-deinstall"
triggers="texinfo.trigger=/usr/share/info"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/texinfo/texinfo-$pkgver.tar.xz
fix-build-without-NLS.patch
"
options="!check" # Test dependencies are not packaged
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-nls
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
ceab03e8422d800b08c7b44e8263b0a1f35bb7758d83a81136df6f3304a14daecda98a12a282afb85406d2ca2f665b2295e10b6f4064156ea1285d80d5d355db texinfo-7.1.tar.xz
4e81263afa0d3c58316e8104f9c155f0c11946fae7a9fa98ff3d86637e56be377fe584ca82df0786f4c74a180813cbcf87f25e0ee7bbbea9073eac20660f08d9 fix-build-without-NLS.patch
"