maintainer="fossdd <fossdd@pwned.life>"
pkgname=manuals
pkgver=48.1
pkgrel=0
pkgdesc="Install, Browse, and Search developer documentation"
url="https://gitlab.gnome.org/chergert/manuals"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	desktop-file-utils
	flatpak-dev
	gom-dev
	libdex-dev
	libpanel-dev
	meson
	webkit2gtk-6.0-dev
	"
source="https://gitlab.gnome.org/chergert/manuals/-/archive/$pkgver/manuals-$pkgver.tar.gz"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
df620c367129436fab1b5381576de616780ff8457af9bf314e7fcb80a101b886900bd94e09ab820f0872d54fcbe10e026eea70e888c15955b21e6b015ae2c803  manuals-48.1.tar.gz
"
