aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lout/APKBUILD
blob: 21f88a677fdb4d944f46fd1c47e6d2f0123b1ec5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Paul Bredbury <brebs@sent.com>
pkgname=lout
pkgver=3.42
pkgrel=1
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"
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="
2c6e496bbacbce68f1c0b6a8c4b18eb275264c04eae14afc9f59fdc7578457da001c7f0fe4c0c1a1603618a1e4528ba41e53539c3c5e8e747221abaf9d1df8f2  lout-3.42.tar.gz
25ec49f9c650e93f68e6e06a9a9b0d0b68b4ecbe30b7d4df4c86b30f1c5b590bad49f6b4948054f49ffe13d1ad27bf72eaf4be9d3db0223eed7310ac1b443b39  makefile.patch
"