summaryrefslogblamecommitdiff
path: root/system/texinfo/APKBUILD
blob: 9b44ac59f08e1f10adbb05c7b6b8940226c47b12 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                   
                                                                 























                                                                                                                                                                 
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=texinfo
pkgver=6.5
pkgrel=2
pkgdesc="Utilities to manage on-line documentation"
url="https://www.gnu.org/software/texinfo/"
arch="all"
license="GPL-3.0+"
depends="perl"
makedepends="ncurses-dev perl-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir"/ install

	rm -f "$pkgdir"/usr/share/info/dir
	gzip "$pkgdir"/usr/share/info/*
}

sha512sums="06831b4c74a1ba7a9cff937069e40ab26db1204aa8761d63254651ffacf6b0cb95d7078ba1cc59d95427239ab7e4f4aedf582967854281bfea3850b1ed5b1fdc  texinfo-6.5.tar.xz"