aboutsummaryrefslogtreecommitdiffstats
path: root/testing/skribilo/APKBUILD
blob: 6ff9a1896482dd3cf83f328698a6cd07de0e970e (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
40
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=skribilo
pkgver=0.9.5
pkgrel=2
pkgdesc="A free document production tool for structured documents"
url="https://www.nongnu.org/skribilo"
arch="all"
license="GPL-3.0-or-later"
depends="guile guile-reader imagemagick"
makedepends="guile-dev"
# Don't split -dev: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12783
subpackages="$pkgname-doc"
options="!strip" # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907061
source="https://download.savannah.nongnu.org/releases/skribilo/skribilo-$pkgver.tar.gz
	0001-tests-Determine-current-test-runner-before-test-end-.patch"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
22dff4523039792bd3662f9f1302569bfb83d92b7106ae22b8926e264b00932ea50ab753bb83aed499d0aa651d0fe99fdfd28b83956ec3ad84b81078391fe014  skribilo-0.9.5.tar.gz
c2265ffec762ea99a4e99bb793e3814fe9d93092c3b117f8d471cb48feaf05d93c5492a3e228df7bf23be6f45b9d074f5ae462f286ca986df02f3e9869b9ccfa  0001-tests-Determine-current-test-runner-before-test-end-.patch
"