# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-user-docs
pkgver=46.4
pkgrel=0
pkgdesc="GNOME User Documentation"
url="https://gitlab.gnome.org/GNOME/gnome-user-docs"
arch="noarch"
license="CC-BY-3.0"
makedepends="itstool libxml2-utils gettext-dev"
options="!check" # no tests
source="https://download.gnome.org/sources/gnome-user-docs/${pkgver%.*}/gnome-user-docs-$pkgver.tar.xz"

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

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

sha512sums="
5ccf42019603963d09e04c2977835ab6a70f06cbaf3276e53025e853fbf607b0f53000043112df00329dc9eda5b19e5be1b07dd66dc21f4c9db98e09cc454d55  gnome-user-docs-46.4.tar.xz
"
