# Maintainer: Cormac Stephenson <c7s@kasku.net>
pkgname=zathura-djvu
pkgver=0.2.9
pkgrel=4
pkgdesc="djvu plugin for zathura"
url="https://pwmt.org/projects/zathura-djvu/"
arch="all"
license="Zlib"
options="!check" # no tests
makedepends="meson zathura-dev djvulibre-dev"
depends="zathura"
source="https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-$pkgver.tar.xz"

build() {
	abuild-meson build
	meson compile -C build
}

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

sha512sums="
3c2815e7f1cdfb9fc594dc6ad65359245f322e5fa27f018fb9431747e4d474734f5efd134aaeb9dabde09b01de603b1d1dc7aede883b1ef81266e067b0490726  zathura-djvu-0.2.9.tar.xz
"
