aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-doc-utils/APKBUILD
blob: a703a09f3c0191a177928ee16ef27010fbd0f9db (plain)
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
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-doc-utils
pkgver=0.20.10
pkgrel=3
pkgdesc="Documentation utilities for Gnome"
url="https://www.gnome.org/"
arch="noarch"
license="GPL-2.0-or-later LGPL-2.1-or-later"
depends="python2 docbook-xml rarian py2-libxml2 libxslt"
makedepends="libxslt-dev libxml2-dev perl-xml-parser rarian-dev
	gettext-dev intltool"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$builddir"
	update_config_sub
}

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

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="1cb5e3b9ca9e45e6c551801e9c9c4aac725c2ce85238c230a4c70b36c90419886b921d8dd464df0643fc3bbb877df075abaa83a36d1609c5664960c31e11d151  gnome-doc-utils-0.20.10.tar.xz"