Commit 3b9cb8aa authored by J0WI's avatar J0WI Committed by Natanael Copa

main/gnome-doc-utils: modernize

parent b38c67f0
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-doc-utils
pkgver=0.20.10
pkgrel=2
pkgrel=3
pkgdesc="Documentation utilities for Gnome"
url="http://www.gnome.org"
url="https://www.gnome.org/"
arch="noarch"
license="GPL LGPL"
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
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
cd "$builddir"
update_config_sub
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,14 +28,17 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-scrollkeeper \
|| return 1
# broken with parallell builds
make -j1 || return 1
--disable-scrollkeeper
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="1cb5e3b9ca9e45e6c551801e9c9c4aac725c2ce85238c230a4c70b36c90419886b921d8dd464df0643fc3bbb877df075abaa83a36d1609c5664960c31e11d151 gnome-doc-utils-0.20.10.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment