# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=zathura-ps
pkgver=0.2.5
pkgrel=0
pkgdesc="zathura-ps - plugin adds PostScript support to zathura"
url="https://pwmt.org/projects/$pkgname"
arch="all"
license="zlib"
depends="zathura"
makedepends="zathura-dev poppler-dev libspectre-dev"
source="https://pwmt.org/projects/zathura-ps/download/zathura-ps-$pkgver.tar.gz"

options="!check"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	make -C "$builddir"
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$builddir" install
}

sha512sums="043898fdca56bee28a8e2af61d3216af25e222c0a137737e599881bb21e805dd8a609ff2901a50763bdbb34bf2e3fca2afaf1a59b715f3ba6aa067971c99c258  zathura-ps-0.2.5.tar.gz"
