pkgname=lout pkgver=3.40 pkgrel=0 pkgdesc="Lightweight typesetting and document formatting system" url="https://savannah.nongnu.org/projects/lout" arch="all" license="GPL-3.0-or-later" makedepends="zlib-dev" install="$pkgname.post-install" subpackages="$pkgname-doc" source="https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz lout-3.40-makefile.patch" options="!check" # No test suite builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" make \ PREFIX="/usr" \ PDF_COMPRESSION=1 \ ZLIB="-lz" \ all } package() { cd "$builddir" mkdir -p "$pkgdir/usr/bin" \ "$pkgdir/usr/share/doc/lout" \ "$pkgdir/usr/share/man/man1" make \ PREFIX="$pkgdir/usr" \ allinstall } sha512sums="adffbb44b9328f0d64b1c8f08fe0217307b1cca870827ca54e0aaae5a2258f519e3e6f0adc715ba6d192dd731ab26c2cc86aa8611d991d5665503842e599c061 lout-3.40.tar.gz a4aa624c6134354e7d26bf70a618bc7f2ad4304eb2c551c124815e8153f0ee554b85ee3537c965e58c4de084716a4a4b7b1faf4ec5a9e58d682a92a52d69b0e6 lout-3.40-makefile.patch"