aports/testing/lout/APKBUILD
ptrcnull 3c314a0470
testing/lout: update url
latest downloads on there are from 2013
2023-06-12 23:23:02 +02:00

39 lines
1 KiB
Text

# Maintainer: Paul Bredbury <brebs@sent.com>
pkgname=lout
pkgver=3.42.2
pkgrel=0
pkgdesc="Lightweight typesetting and document formatting system"
url="https://github.com/william8000/lout"
arch="all"
license="GPL-3.0-or-later"
makedepends="zlib-dev"
subpackages="$pkgname-doc"
source="lout-$pkgver.tar.gz::https://github.com/william8000/lout/archive/refs/tags/$pkgver.tar.gz
makefile.patch"
options="!check" # No test suite
# secfixes:
# 3.42-r0:
# - CVE-2019-19917
# - CVE-2019-19918
build() {
make all
}
package() {
mkdir -p "$pkgdir/usr/bin" \
"$pkgdir/usr/share/doc/lout" \
"$pkgdir/usr/share/man/man1"
make \
PREFIX="$pkgdir/usr" \
LOUTDOCDIR="$pkgdir/usr/share/doc/lout" \
LOUTMANDIR="$pkgdir/usr/share/man/man1" \
allinstall
}
sha512sums="
1e3b419f03232a55c8d6b2d904e8a4fed4a601b4bc93f9e85bdfc78a56b6f93837d4751ae1d877e2ef19215cd9ec2ad76d83ec75cd7d74d668c89b14014304d9 lout-3.42.2.tar.gz
5f36fcda843a5dc933f8fb6e01b23184153b80401986f233c2ec622fc459fa78b73e1dbf2c17b5973d99dd57c7cd79744b3c1d4dd4f70e156e08a0f3184db065 makefile.patch
"