aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-doc-utils/APKBUILD
blob: 1082761ebbf293e024e8ead869a001e4398f1921 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-doc-utils
pkgver=0.20.2
pkgrel=0
pkgdesc="Documentation utilities for Gnome"
url="http://www.gnome.org"
arch="all"
license="GPL LGPL"
depends="python docbook-xml rarian py-libxml2 libxslt"
makedepends="libxslt-dev libxml2-dev perl-xml-parser rarian-dev pkgconfig
	gettext-dev intltool"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	xslt.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	patch -p1 -i "$srcdir"/xslt.patch
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-scrollkeeper || return 1
	# broken with parallell builds
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="920914c13c57e67616c6ff8594579786  gnome-doc-utils-0.20.2.tar.bz2
6aa99cdd5dec2eb887f7ca4976ec840e  xslt.patch"